Searched defs:panel (Results 1 - 25 of 72) sorted by relevance

123

/external/chromium/chrome/browser/ui/panels/
H A Dpanel_browser_view.cc6 #include "chrome/browser/ui/panels/panel.h"
8 BrowserWindow* Panel::CreateNativePanel(Browser* browser, Panel* panel) { argument
H A Dpanel_browser_window_gtk.cc6 #include "chrome/browser/ui/panels/panel.h"
8 BrowserWindow* Panel::CreateNativePanel(Browser* browser, Panel* panel) { argument
/external/chromium_org/chrome/browser/ui/panels/
H A Ddetached_panel_drag_handler.cc8 #include "chrome/browser/ui/panels/panel.h"
14 void DetachedPanelDragHandler::HandleDrag(Panel* panel, argument
16 DCHECK_EQ(PanelCollection::DETACHED, panel->collection()->type());
18 gfx::Rect new_bounds(panel->GetBounds());
20 panel->SetPanelBoundsInstantly(new_bounds);
H A Ddetached_panel_browsertest.cc9 #include "chrome/browser/ui/panels/panel.h"
20 // Create an initially detached panel (as opposed to other tests which create
21 // a docked panel, then detaches it).
25 Panel* panel = CreatePanelWithParams(params); local
27 CreateNativePanelTesting(panel));
30 EXPECT_TRUE(detached_collection->HasPanel(panel));
32 EXPECT_EQ(bounds.x(), panel->GetBounds().x());
33 // Ignore checking y position since the detached panel will be placed near
36 EXPECT_EQ(bounds.y(), panel->GetBounds().y());
37 EXPECT_EQ(bounds.width(), panel
64 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); local
80 Panel* panel = local
102 Panel* panel = local
122 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); local
156 Panel* panel = CreateDetachedPanel("1", initial_bounds); local
192 Panel* panel = CreateDetachedPanel("1", initial_bounds); local
216 Panel* panel = CreatePanelWithParams(params); local
243 Panel* panel = CreatePanelWithParams(params); local
[all...]
H A Dstacked_panel_drag_handler.cc8 #include "chrome/browser/ui/panels/panel.h"
15 void StackedPanelDragHandler::HandleDrag(Panel* panel, argument
18 DCHECK_EQ(PanelCollection::STACKED, panel->collection()->type());
20 StackedPanelCollection* stack = panel->stack();
23 // If the panel is in its original stack, only top panel is allowed to drag.
24 if (in_orginal_collection && panel != stack->top_panel())
38 gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin();
51 void StackedPanelDragHandler::FinalizeDrag(Panel* panel) { argument
52 DCHECK_EQ(PanelCollection::STACKED, panel
69 Panel* panel = *iter; local
[all...]
H A Dtest_panel_active_state_observer.cc8 #include "chrome/browser/ui/panels/panel.h"
12 Panel* panel,
16 content::Source<Panel>(panel)),
17 panel_(panel),
11 PanelActiveStateObserver( Panel* panel, bool expect_active) argument
H A Dtest_panel_collection_squeeze_observer.cc9 #include "chrome/browser/ui/panels/panel.h"
23 bool PanelCollectionSqueezeObserver::IsSqueezed(Panel* panel) { argument
24 return panel->GetBounds().width() < panel->GetRestoredBounds().width();
H A Ddetached_panel_collection.h10 #include "chrome/browser/ui/panels/panel.h"
29 virtual void AddPanel(Panel* panel,
31 virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE;
34 Panel* panel,
36 virtual panel::Resizability GetPanelResizability(
37 const Panel* panel) const OVERRIDE;
38 virtual void OnPanelResizedByMouse(Panel* panel,
40 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE;
41 virtual void OnPanelTitlebarClicked(Panel* panel,
42 panel
80 Panel* panel; member in struct:DetachedPanelCollection::PanelPlacement
[all...]
H A Ddocked_panel_drag_handler.cc8 #include "chrome/browser/ui/panels/panel.h"
14 void DockedPanelDragHandler::HandleDrag(Panel* panel, argument
16 DCHECK_EQ(PanelCollection::DOCKED, panel->collection()->type());
19 static_cast<DockedPanelCollection*>(panel->collection());
21 // Moves this panel to the dragging position.
22 // Note that we still allow the panel to be moved vertically until it gets
24 gfx::Rect new_bounds(panel->GetBounds());
26 int delta_x = new_bounds.x() - panel->GetBounds().x();
28 panel->expansion_state());
34 panel
50 DragLeft(Panel* panel) argument
84 DragRight(Panel* panel) argument
[all...]
H A Dpanel_extension_browsertest.cc16 #include "chrome/browser/ui/panels/panel.h"
54 Panel* panel = PanelManager::GetInstance()->CreatePanel( local
60 panel->ShowInactive();
61 return panel;
64 void WaitForAppIconAvailable(Panel* panel) const {
67 content::Source<Panel>(panel));
68 if (!panel->app_icon().IsEmpty())
71 EXPECT_FALSE(panel->app_icon().IsEmpty());
74 static NativePanelTesting* CreateNativePanelTesting(Panel* panel) { argument
75 return panel
84 Panel* panel = CreatePanelFromExtension(extension); local
109 Panel* panel = CreatePanelFromExtension(extension); local
145 Panel* panel = panel_manager->panels().front(); local
248 Panel* panel = panel_manager->panels().front(); local
[all...]
H A Ddocked_panel_collection.h13 #include "chrome/browser/ui/panels/panel.h"
38 // area being changed or a panel being closed.
41 // Adds a panel to the collection. The panel may be a newly created panel or
43 virtual void AddPanel(Panel* panel,
48 Panel* panel,
50 virtual panel::Resizability GetPanelResizability(
51 const Panel* panel) const OVERRIDE;
52 virtual void OnPanelResizedByMouse(Panel* panel,
122 Panel* panel; member in struct:DockedPanelCollection::PanelPlacement
[all...]
H A Dpanel_bounds_animation.cc7 #include "chrome/browser/ui/panels/panel.h"
20 Panel* panel,
24 panel_(panel),
28 // and there is relatively big portion of the panel to hide from view.
19 PanelBoundsAnimation(gfx::AnimationDelegate* target, Panel* panel, const gfx::Rect& initial_bounds, const gfx::Rect& final_bounds) argument
H A Dpanel_resize_controller.cc8 #include "chrome/browser/ui/panels/panel.h"
12 static bool ResizingLeft(panel::ResizingSides sides) {
13 return sides == panel::RESIZE_TOP_LEFT ||
14 sides == panel::RESIZE_LEFT ||
15 sides == panel::RESIZE_BOTTOM_LEFT;
18 static bool ResizingRight(panel::ResizingSides sides) {
19 return sides == panel::RESIZE_TOP_RIGHT ||
20 sides == panel::RESIZE_RIGHT ||
21 sides == panel::RESIZE_BOTTOM_RIGHT;
24 static bool ResizingTop(panel
43 StartResizing(Panel* panel, const gfx::Point& mouse_location, panel::ResizingSides sides) argument
169 OnPanelClosed(Panel* panel) argument
[all...]
H A Dstacked_panel_collection.h32 virtual void AddPanel(Panel* panel,
34 virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE;
37 Panel* panel,
39 virtual panel::Resizability GetPanelResizability(
40 const Panel* panel) const OVERRIDE;
41 virtual void OnPanelResizedByMouse(Panel* panel,
43 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE;
44 virtual void OnPanelTitlebarClicked(Panel* panel,
45 panel::ClickModifier modifier) OVERRIDE;
46 virtual void ActivatePanel(Panel* panel) OVERRID
94 Panel* panel; member in struct:StackedPanelCollection::PanelPlacement
[all...]
/external/chromium_org/chrome/browser/ui/cocoa/
H A Dssl_client_certificate_selector_cocoa.h42 @property (readonly, nonatomic) SFChooseIdentityPanel* panel; variable
/external/chromium_org/chrome/browser/ui/views/panels/
H A Dpanel_view_browsertest.cc6 #include "chrome/browser/ui/panels/panel.h"
30 PanelView* GetPanelView(Panel* panel) const {
31 return static_cast<PanelView*>(panel->native_panel());
37 Panel* panel = CreatePanelWithParams(params); local
38 EXPECT_TRUE(panel->IsActive());
43 HWND native_window = views::HWNDForWidget(GetPanelView(panel)->window());
60 panel->Close();
65 Panel* panel = CreatePanelWithParams(params); local
66 EXPECT_FALSE(panel->IsActive());
71 HWND native_window = views::HWNDForWidget(GetPanelView(panel)
94 Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 200, 50)); local
140 Panel* panel = CreatePanelWithBounds("PanelTest", bounds); local
157 Panel* panel = CreatePanelWithBounds("PanelTest", bounds); local
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DPanel.js38 this.element.classList.add("panel");
127 this.sidebarTree.panel = this;
217 * @param {!WebInspector.Panel=} panel
219 WebInspector.PanelDescriptor = function(name, title, className, scriptName, panel)
225 this._panel = panel;
248 panel: function()
255 console.assert(!this._isCreatingPanel, "PanelDescriptor.panel() is called from inside itself: " + new Error().stack);
/external/jmonkeyengine/engine/src/test/jme3test/awt/
H A DTestAwtPanels.java25 private static AwtPanel panel, panel2; field in class:TestAwtPanels
28 private static void createWindowForPanel(AwtPanel panel, int location){ argument
31 frame.getContentPane().add(panel, BorderLayout.CENTER);
60 panel = ctx.createPanel(PaintMode.Accelerated);
61 panel.setPreferredSize(new Dimension(400, 300));
62 ctx.setInputSource(panel);
67 createWindowForPanel(panel, 300);
84 panel.attachTo(true, viewPort);
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
H A DStatusBarController.java38 private final JPanel panel = new JPanel(); field in class:StatusBarController
57 panel.setLayout(layout);
58 panel.add(labelText);
59 panel.add(progress);
60 panel.add(labRuleHint);
61 panel.add(labelRuleName);
62 panel.setOpaque(false);
63 panel.setBorder(javax.swing.BorderFactory.createEmptyBorder());
80 return panel;
/external/chromium/chrome/browser/chromeos/notifications/
H A Dnotification_panel.h31 // NotificationPanel is a panel that displays notifications. It has
33 // depending on in which state the panel is. The following shows
34 // how the panel's state changes in response to various events.
39 // or the system closed the panel.
42 // expand: a user pressed minimized panel to expand.
43 // minimize: a user pressed the panel's title bar to minimize.
44 // user: the user's mouse moved over the panel, indicates
45 // that user is trying to interact with the panel.
80 MINIMIZED, // The panel is minimized.
81 CLOSED, // The panel i
205 NotificationPanelTester(NotificationPanel* panel) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DMediaControlsChromium.cpp67 // Create an enclosing element for the panel so we can visually offset the controls correctly.
70 RefPtr<MediaControlPanelElement> panel = MediaControlPanelElement::create(document); local
76 panel->appendChild(playButton.release(), exceptionState);
82 panel->appendChild(timeline.release(), exceptionState);
89 panel->appendChild(currentTimeDisplay.release(), exceptionState);
95 panel->appendChild(durationDisplay.release(), exceptionState);
101 panel->appendChild(panelMuteButton.release(), exceptionState);
108 panel->appendChild(slider.release(), exceptionState);
115 panel->appendChild(toggleClosedCaptionsButton.release(), exceptionState);
122 panel
[all...]
/external/chromium/chrome/browser/chromeos/panels/
H A Dpanel_scroller.cc33 Panel* panel = new Panel; local
34 panel->header = new PanelScrollerHeader(this);
35 panel->header->set_title(ASCIIToUTF16("Email"));
36 panel->container = new PanelScrollerContainer(this, new views::View());
37 panels_.push_back(panel);
39 panel = new Panel;
40 panel->header = new PanelScrollerHeader(this);
41 panel->header->set_title(ASCIIToUTF16("Chat"));
42 panel->container = new PanelScrollerContainer(this, new views::View());
43 panels_.push_back(panel);
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
H A DContentWrapperView.java32 * because the main panel is discarded after the hiding animation.
49 public ContentWrapperView(Context context, InfoBar infoBar, int backgroundType, View panel, argument
79 addChildView(panel);
/external/chromium_org/chrome/browser/task_manager/
H A Dpanel_resource_provider.cc15 #include "chrome/browser/ui/panels/panel.h"
34 explicit PanelResource(Panel* panel);
54 PanelResource::PanelResource(Panel* panel) argument
56 panel->GetWebContents()->GetRenderProcessHost()->GetHandle(),
57 panel->GetWebContents()->GetRenderViewHost()),
58 panel_(panel) {
62 panel->profile()->IsOffTheRecord(),
140 // Can happen if the panel went away while a network request was being
176 void PanelResourceProvider::Add(Panel* panel) { argument
180 PanelResourceMap::const_iterator iter = resources_.find(panel);
189 Remove(Panel* panel) argument
226 Panel* panel = iter->first; local
[all...]
H A Dtask_manager_browsertest.cc30 #include "chrome/browser/ui/panels/panel.h"
178 // Open a new panel to an extension url and make sure we notice that.
181 Panel* panel = PanelManager::GetInstance()->CreatePanel( local
190 // Check that the fourth entry is a resource with the panel's web contents
192 ASSERT_EQ(panel->GetWebContents(), model()->GetResourceWebContents(3));
197 // Close the panel and verify that we notice.
198 panel->Close();
225 // Open a new panel to an extension url and make sure we notice that.
237 // Kill the panel extension process and verify that it disappears from the
238 // model along with its panel
[all...]

Completed in 360 milliseconds

123