/external/chromium_org/chrome/browser/ui/panels/ |
D | panel_drag_browsertest.cc | 115 static gfx::Vector2d GetDragDeltaToStackToBottom(Panel* panel1, in GetDragDeltaToStackToBottom() argument 117 gfx::Rect bounds1 = panel1->GetBounds(); in GetDragDeltaToStackToBottom() 127 static gfx::Vector2d GetDragDeltaToUnstackFromBottom(Panel* panel1, in GetDragDeltaToUnstackFromBottom() argument 129 gfx::Rect bounds1 = panel1->GetBounds(); in GetDragDeltaToUnstackFromBottom() 136 static gfx::Vector2d GetDragDeltaToStackToTop(Panel* panel1, Panel* panel2) { in GetDragDeltaToStackToTop() argument 137 gfx::Rect bounds1 = panel1->GetBounds(); in GetDragDeltaToStackToTop() 139 StackedPanelCollection* stack1 = panel1->stack(); in GetDragDeltaToStackToTop() 150 static gfx::Vector2d GetDragDeltaToUnstackFromTop(Panel* panel1, in GetDragDeltaToUnstackFromTop() argument 152 gfx::Rect bounds1 = panel1->GetBounds(); in GetDragDeltaToUnstackFromTop() 159 static gfx::Vector2d GetDragDeltaToSnapToLeft(Panel* panel1, in GetDragDeltaToSnapToLeft() argument [all …]
|
D | stacked_panel_browsertest.cc | 26 Panel* panel1 = CreateStackedPanel("1", panel1_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F() local 33 CreateNativePanelTesting(panel1)); in IN_PROC_BROWSER_TEST_F() 44 EXPECT_EQ(stack, panel1->stack()); in IN_PROC_BROWSER_TEST_F() 66 EXPECT_EQ(panel1_expected_bounds, panel1->GetBounds()); in IN_PROC_BROWSER_TEST_F() 79 EXPECT_FALSE(panel1->IsAlwaysOnTop()); in IN_PROC_BROWSER_TEST_F() 83 EXPECT_FALSE(panel1->IsMinimized()); in IN_PROC_BROWSER_TEST_F() 90 panel1->CanResizeByMouse()); in IN_PROC_BROWSER_TEST_F() 106 EXPECT_EQ(expected_attention_mode, panel1->attention_mode()); in IN_PROC_BROWSER_TEST_F() 120 Panel* panel1 = CreateStackedPanel("1", panel1_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F() local 127 CreateNativePanelTesting(panel1)); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_browsertest.cc | 262 Panel* panel1 = CreatePanelWithBounds("1", gfx::Rect(0, 0, 100, 100)); in IN_PROC_BROWSER_TEST_F() local 270 CreateNativePanelTesting(panel1)); in IN_PROC_BROWSER_TEST_F() 281 EXPECT_TRUE(docked_collection->HasPanel(panel1)); in IN_PROC_BROWSER_TEST_F() 285 EXPECT_EQ(Panel::EXPANDED, panel1->expansion_state()); in IN_PROC_BROWSER_TEST_F() 289 EXPECT_TRUE(panel1->IsAlwaysOnTop()); in IN_PROC_BROWSER_TEST_F() 306 EXPECT_EQ(panel::RESIZABLE_EXCEPT_BOTTOM, panel1->CanResizeByMouse()); in IN_PROC_BROWSER_TEST_F() 314 EXPECT_EQ(Panel::USE_PANEL_ATTENTION, panel1->attention_mode()); in IN_PROC_BROWSER_TEST_F() 626 Panel* panel1 = CreatePanel("PanelTest1"); in IN_PROC_BROWSER_TEST_F() local 629 EXPECT_FALSE(panel1->IsMinimized()); in IN_PROC_BROWSER_TEST_F() 634 panel1->OnRestoreButtonClicked(panel::NO_MODIFIER); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | docked_panel_browsertest.cc | 40 Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F() local 46 EXPECT_EQ(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F() 65 EXPECT_LT(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F() 84 EXPECT_LT(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F() 99 Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F() local 111 int panel_1_width_less_squeezed = panel1->GetBounds().width(); in IN_PROC_BROWSER_TEST_F() 118 EXPECT_LT(panel_1_width_less_squeezed, panel1->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F() 134 EXPECT_LT(panel1->GetBounds().width(), panel_1_width_less_squeezed); in IN_PROC_BROWSER_TEST_F() 148 Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); in IN_PROC_BROWSER_TEST_F() local 164 EXPECT_LT(panel1->GetBounds().width(), panel1->GetRestoredBounds().width()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_resize_browsertest.cc | 367 Panel* panel1 = CreateDetachedPanel("1", gfx::Rect(100, 200, 100, 100)); in IN_PROC_BROWSER_TEST_F() local 372 gfx::Rect panel1_bounds = panel1->GetBounds(); in IN_PROC_BROWSER_TEST_F() 380 panel_manager->StartResizingByMouse(panel1, mouse_location, in IN_PROC_BROWSER_TEST_F() 388 EXPECT_EQ(panel1_bounds, panel1->GetBounds()); in IN_PROC_BROWSER_TEST_F() 395 EXPECT_EQ(panel1_bounds, panel1->GetBounds()); in IN_PROC_BROWSER_TEST_F() 418 EXPECT_EQ(panel1_bounds, panel1->GetBounds()); in IN_PROC_BROWSER_TEST_F() 535 Panel* panel1 = CreateStackedPanel("1", panel1_initial_bounds, stack); in IN_PROC_BROWSER_TEST_F() local 545 EXPECT_EQ(panel1_expected_full_size, panel1->full_size()); in IN_PROC_BROWSER_TEST_F() 554 EXPECT_EQ(panel1_expected_bounds, panel1->GetBounds()); in IN_PROC_BROWSER_TEST_F() 571 ResizePanel(panel1, in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_manager.cc | 57 bool ComparePanelsByPosition(Panel* panel1, Panel* panel2) { in ComparePanelsByPosition() argument 58 gfx::Rect bounds1 = panel1->GetBounds(); in ComparePanelsByPosition() 86 bool CompareDetachedPanels(Panel* panel1, Panel* panel2) { in CompareDetachedPanels() argument 87 return ComparePanelsByPosition(panel1, panel2); in CompareDetachedPanels()
|
D | detached_panel_collection.h | 21 typedef bool (*PanelsComparer)(Panel* panel1, Panel* panel2);
|
/external/chromium_org/ash/wm/overview/ |
D | window_selector_unittest.cc | 225 scoped_ptr<aura::Window> panel1(CreatePanelWindow(bounds)); in TEST_F() local 228 EXPECT_TRUE(WindowsOverlapping(panel1.get(), panel2.get())); in TEST_F() 241 EXPECT_FALSE(WindowsOverlapping(window1.get(), panel1.get())); in TEST_F() 244 EXPECT_TRUE(WindowsOverlapping(panel1.get(), panel2.get())); in TEST_F() 267 scoped_ptr<aura::Window> panel1(CreatePanelWindow(bounds)); in TEST_F() local 272 EXPECT_FALSE(panel1->IsVisible()); in TEST_F() 279 EXPECT_TRUE(panel1->IsVisible()); in TEST_F() 285 EXPECT_FALSE(panel1->IsVisible()); in TEST_F() 478 scoped_ptr<aura::Window> panel1(CreatePanelWindow(bounds)); in TEST_F() local 483 wm::ActivateWindow(panel1.get()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/panels/ |
D | panel_cocoa_unittest.mm | 140 Panel* panel1 = CreateTestPanel("Test Panel 1"); 144 gfx::Rect bounds1 = panel1->GetBounds(); 160 // After panel1 is closed, panel3 should take its place. 161 ClosePanelAndWait(panel1); 169 Panel* panel1 = CreateTestPanel("Test Panel 1"); 173 PanelCocoa* native_window1 = static_cast<PanelCocoa*>(panel1->native_panel()); 199 // After panel1 is closed, panel3 should take its place. 201 ClosePanelAndWait(panel1);
|
/external/chromium_org/ash/wm/panels/ |
D | panel_layout_manager_unittest.cc | 112 void PanelsNotOverlapping(aura::Window* panel1, aura::Window* panel2) { in PanelsNotOverlapping() argument 115 gfx::Rect window1_bounds = panel1->GetBoundsInRootWindow(); in PanelsNotOverlapping()
|