Searched refs:panel (Results 1 - 25 of 130) sorted by relevance

123456

/external/chromium_org/chrome/browser/ui/panels/
H A Ddetached_panel_collection.cc18 // When the stacking mode is enabled, the detached panel will be positioned
19 // near the top of the working area such that the subsequent panel could be
20 // stacked to the bottom of the detached panel. This value is experimental
40 Panel* panel = *iter; local
42 display_settings_provider->GetWorkAreaMatching(panel->GetBounds());
45 panel->LimitSizeToWorkArea(work_area);
47 // Update bounds to make sure the panel falls completely within the work
49 gfx::Rect bounds = panel->GetBounds();
50 if (panel->full_size() != bounds.size()) {
51 bounds.set_size(panel
75 Panel* panel = *iter; local
82 AddPanel(Panel* panel, PositioningMask positioning_mask) argument
95 RemovePanel(Panel* panel, RemovalReason reason) argument
110 OnPanelAttentionStateChanged(Panel* panel) argument
115 OnPanelTitlebarClicked(Panel* panel, panel::ClickModifier modifier) argument
121 ResizePanelWindow( Panel* panel, const gfx::Size& preferred_window_size) argument
146 ActivatePanel(Panel* panel) argument
151 MinimizePanel(Panel* panel) argument
157 RestorePanel(Panel* panel) argument
163 OnMinimizeButtonClicked( Panel* panel, panel::ClickModifier modifier) argument
168 OnRestoreButtonClicked( Panel* panel, panel::ClickModifier modifier) argument
197 SavePanelPlacement(Panel* panel) argument
223 OnPanelResizedByMouse( Panel* panel, const gfx::Rect& new_bounds) argument
237 UpdatePanelOnCollectionChange(Panel* panel) argument
246 OnPanelExpansionStateChanged(Panel* panel) argument
257 OnPanelActiveStateChanged(Panel* panel) argument
[all...]
H A Dpanel_collection.h18 // Types of layout for the panel collections.
25 // Masks that control how the panel is added and positioned.
27 // The panel is added and placed at default position that is decided by the
30 // The panel is being added based on its current known position.
32 // The panel is added and placed at top position (currently only used by
35 // Do not update panel bounds. Only valid with DEFAULT_POSIITON.
38 // adding panel to the collection. If not set, the collection will refresh
43 // Collapse other inactive stacked panels such the tha new panel can fit
59 // a result of removing or resizing a panel in collection.
62 // Adds |panel| t
[all...]
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 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_collection.cc24 // Width of spacing around panel collection and the left/right edges of the
35 // After focus changed, one panel lost active status, another got it,
39 // As we refresh panel positions, some or all panels may move. We make sure
82 void DockedPanelCollection::AddPanel(Panel* panel, argument
85 DCHECK_EQ(Panel::EXPANDED, panel->expansion_state());
87 DCHECK(panel->initialized());
88 DCHECK_NE(this, panel->collection());
89 panel->set_collection(this);
95 gfx::Size full_size = panel->full_size();
97 panel
149 RemovePanel(Panel* panel, RemovalReason reason) argument
182 SavePanelPlacement(Panel* panel) argument
198 Panel* panel = saved_panel_placement_.panel; local
240 OnPanelResizedByMouse(Panel* panel, const gfx::Rect& new_bounds) argument
246 OnPanelExpansionStateChanged(Panel* panel) argument
264 AdjustPanelBoundsPerExpansionState(Panel* panel, gfx::Rect* bounds) argument
289 OnPanelAttentionStateChanged(Panel* panel) argument
321 OnPanelTitlebarClicked(Panel* panel, panel::ClickModifier modifier) argument
333 ActivatePanel(Panel* panel) argument
344 MinimizePanel(Panel* panel) argument
354 RestorePanel(Panel* panel) argument
389 OnMinimizeButtonClicked( Panel* panel, panel::ClickModifier modifier) argument
397 OnRestoreButtonClicked( Panel* panel, panel::ClickModifier modifier) argument
438 ResizePanelWindow( Panel* panel, const gfx::Size& preferred_window_size) argument
480 Panel* panel = *iter; local
570 Panel* panel = *iter; local
637 Panel* panel = *panel_iter; local
662 Panel* panel = *panel_iter; local
705 Panel* panel = bounds_info.first; local
745 UpdatePanelOnCollectionChange(Panel* panel) argument
762 OnPanelActiveStateChanged(Panel* panel) argument
[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 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...]
H A Ddocked_panel_drag_handler.h18 static void HandleDrag(Panel* panel, const gfx::Point& target_position);
21 static void DragLeft(Panel* panel);
22 static void DragRight(Panel* panel);
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 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 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 Dstacked_panel_collection.cc14 #include "chrome/browser/ui/panels/panel.h"
83 // If only one panel is left in the stack, we only need to check if it should
86 Panel* panel = panels_.front(); local
87 gfx::Rect bounds = panel->GetBounds();
90 panel->SetPanelBounds(bounds);
105 Panel* panel = *iter; local
108 // top panel might change when a panel is being added or removed from
110 panel->UpdateMinimizeRestoreButtonVisibility();
112 // Don't update the stacked panel tha
206 AddPanel(Panel* panel, PositioningMask positioning_mask) argument
259 RemovePanel(Panel* panel, RemovalReason reason) argument
340 OnPanelAttentionStateChanged(Panel* panel) argument
345 OnPanelTitlebarClicked( Panel* panel, panel::ClickModifier modifier) argument
361 ResizePanelWindow( Panel* panel, const gfx::Size& preferred_window_size) argument
366 ActivatePanel(Panel* panel) argument
373 MinimizePanel(Panel* panel) argument
377 RestorePanel(Panel* panel) argument
456 Panel* panel = *iter; local
462 OnMinimizeButtonClicked( Panel* panel, panel::ClickModifier modifier) argument
465 DCHECK_EQ(top_panel(), panel); local
470 OnRestoreButtonClicked( Panel* panel, panel::ClickModifier modifier) argument
492 SavePanelPlacement(Panel* panel) argument
586 Panel* panel = *iter; local
630 UpdatePanelOnCollectionChange(Panel* panel) argument
639 OnPanelExpansionStateChanged(Panel* panel) argument
654 OnPanelActiveStateChanged(Panel* panel) argument
712 Panel* panel = *iter; local
728 UpdatePanelCornerStyle(Panel* panel) argument
781 Panel* panel = *iter; local
[all...]
H A Dstacked_panel_drag_handler.h18 static void HandleDrag(Panel* panel,
22 static void FinalizeDrag(Panel* panel);
H A Dpanel_resize_controller.cc8 #include "chrome/browser/ui/panels/panel.h"
44 void PanelResizeController::StartResizing(Panel* panel, argument
50 panel::Resizability resizability = panel->CanResizeByMouse();
51 DCHECK_NE(panel::NOT_RESIZABLE, resizability);
52 panel::Resizability resizability_to_test;
55 resizability_to_test = panel::RESIZABLE_TOP_LEFT;
58 resizability_to_test = panel::RESIZABLE_TOP;
61 resizability_to_test = panel::RESIZABLE_TOP_RIGHT;
64 resizability_to_test = panel
170 OnPanelClosed(Panel* panel) argument
[all...]
H A Dpanel_browsertest.cc25 #include "chrome/browser/ui/panels/panel.h"
124 // top edge of the panel'. On some platforms (Mac) we extend hover area
125 // a bit above the minimized panel as well, so it takes significant
157 expected_bounds[index].set_height(panel::kMinimizedPanelHeight);
160 test_begin_bounds[index].height() - panel::kMinimizedPanelHeight);
186 // Hover mouse on minimized panel.
193 // Hover mouse above the panel. Verify all panels are minimized.
200 // Hover mouse below minimized panel.
208 // Hover below titlebar exposed panel. Verify nothing changed.
215 // Hover mouse above panel
326 Panel* panel = CreatePanel("PanelTest"); local
346 Panel* panel = CreatePanelWithBounds("BigPanel", work_area); local
357 WaitForStableInitialSize(Panel* panel) argument
373 WaitForAutoResizeWider(Panel* panel) argument
391 WaitForAutoResizeNarrower(Panel* panel) argument
421 Panel* panel = CreatePanelWithParams(params); local
477 Panel* panel = CreatePanel("TestPanel"); local
509 Panel* panel = CreateDetachedPanel("1", gfx::Rect(200, 100, 100, 100)); local
542 Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 100, 100)); local
854 Panel* panel = CreatePanel("1"); local
900 Panel* panel = CreatePanel("PanelTest"); local
997 Panel* panel = CreatePanel("PanelTest"); local
1055 Panel* panel = CreateInactivePanel("P1"); local
1200 Panel* panel = CreatePanel("P1"); local
1214 Panel* panel = CreateInactivePanel("P1"); local
1233 Panel* panel = CreateInactivePanel("P1"); local
1258 Panel* panel = CreateInactivePanel("P1"); local
1288 Panel* panel = CreatePanelWithParams(params); local
1309 Panel* panel = CreatePanelWithParams(params); local
1319 Panel* panel = CreateInactivePanel("1"); local
1399 Panel* panel = CreatePanelWithParams(params); local
1454 Panel* panel = CreatePanelWithParams(params); local
1472 Panel* panel = CreatePanelWithParams(params); local
1508 Panel* panel = CreatePanelWithParams(params); local
1544 Panel* panel = CreatePanelWithBounds("1", gfx::Rect(0, 0, 240, 220)); local
1576 Panel* panel = CreatePanelWithBounds("1", gfx::Rect(0, 0, 240, 220)); local
1618 Panel* panel = CreatePanelWithParams(params); local
1652 Panel* panel = CreatePanelWithParams(params); local
1693 Panel* panel = CreatePanelWithParams(params); local
1723 Panel* panel = CreatePanel("PanelTest"); local
1755 Panel* panel = CreatePanelWithParams(params); local
[all...]
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_drag_handler.h18 static void HandleDrag(Panel* panel, const gfx::Point& target_position);
H A Dbase_panel_browser_test.cc272 // environment for all panel related tests.
297 Panel* panel, ActiveState expected_state) {
303 CreateNativePanelTesting(panel));
308 PanelActiveStateObserver signal(panel, expected_state == SHOW_AS_ACTIVE);
312 void BasePanelBrowserTest::WaitForWindowSizeAvailable(Panel* panel) { argument
314 CreateNativePanelTesting(panel));
317 content::Source<Panel>(panel));
324 void BasePanelBrowserTest::WaitForBoundsAnimationFinished(Panel* panel) { argument
326 CreateNativePanelTesting(panel));
332 content::Source<Panel>(panel));
296 WaitForPanelActiveState( Panel* panel, ActiveState expected_state) argument
369 Panel* panel = manager->CreatePanel( local
437 Panel* panel = CreatePanelWithBounds(name, bounds); local
444 Panel* panel = CreatePanelWithBounds(name, bounds); local
461 Panel* panel = CreateDetachedPanel(name, bounds); local
477 Panel* panel = CreatePanel(name); local
490 Panel* panel = CreateDockedPanel(name, bounds); local
503 Panel* panel = CreateDetachedPanel(name, bounds); local
511 ActivatePanel(Panel* panel) argument
528 DeactivatePanel(Panel* panel) argument
546 CreateNativePanelTesting( Panel* panel) argument
575 CloseWindowAndWait(Panel* panel) argument
600 MoveMouseAndWaitForExpansionStateChange( Panel* panel, const gfx::Point& position) argument
[all...]
H A Dpanel_resize_browsertest.cc7 #include "chrome/browser/ui/panels/panel.h"
32 void ResizePanel(Panel* panel, argument
36 gfx::Rect bounds = panel->GetBounds();
69 panel_manager->StartResizingByMouse(panel, mouse_location, component);
76 // http://crbug.com/175760; several panel tests failing regularly on mac.
84 Panel* panel = CreatePanel("Panel"); local
86 EXPECT_EQ(panel::RESIZABLE_EXCEPT_BOTTOM, panel->CanResizeByMouse());
88 gfx::Rect bounds = panel->GetBounds();
92 panel_manager->StartResizingByMouse(panel, mouse_locatio
200 Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); local
272 Panel* panel = CreateDetachedPanel("1", local
299 Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); local
416 Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); local
471 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); local
[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...]
/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_org/ui/file_manager/file_manager/audio_player/elements/
H A Daudio_player.css5 control-panel {
/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
153 Panel* panel = CreatePanelWithBounds("PanelTest", bounds); local
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DpanelEnablerView.css30 .panel-enabler-view {
40 .panel-enabler-view h1 {
48 .panel-enabler-view img {
59 .panel-enabler-view img.hidden {
64 .panel-enabler-view .flexible-space {
68 .panel-enabler-view form {
77 .panel-enabler-view label {
85 .panel-enabler-view button:not(.status-bar-item) {
98 body.inactive .panel-enabler-view button:not(.status-bar-item),
99 .panel
[all...]

Completed in 770 milliseconds

123456