/external/chromium_org/chrome/browser/ui/panels/ |
D | stacked_panel_browsertest.cc | 40 ASSERT_EQ(0, panel_manager->docked_collection()->num_panels()); in IN_PROC_BROWSER_TEST_F() 41 ASSERT_EQ(0, panel_manager->detached_collection()->num_panels()); in IN_PROC_BROWSER_TEST_F() 43 ASSERT_EQ(3, stack->num_panels()); in IN_PROC_BROWSER_TEST_F() 142 ASSERT_EQ(0, panel_manager->docked_collection()->num_panels()); in IN_PROC_BROWSER_TEST_F() 143 ASSERT_EQ(0, panel_manager->detached_collection()->num_panels()); in IN_PROC_BROWSER_TEST_F() 145 ASSERT_EQ(3, stack->num_panels()); in IN_PROC_BROWSER_TEST_F() 350 ASSERT_EQ(4, stack->num_panels()); in IN_PROC_BROWSER_TEST_F() 456 ASSERT_EQ(3, stack->num_panels()); in IN_PROC_BROWSER_TEST_F() 508 ASSERT_EQ(3, stack->num_panels()); in IN_PROC_BROWSER_TEST_F() 533 ASSERT_EQ(1, panel_manager->detached_collection()->num_panels()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_drag_browsertest.cc | 609 ASSERT_EQ(4, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 633 ASSERT_EQ(4, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 651 ASSERT_EQ(3, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 665 ASSERT_EQ(3, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 690 ASSERT_EQ(3, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 706 ASSERT_EQ(2, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 718 ASSERT_EQ(2, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 742 ASSERT_EQ(2, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 762 ASSERT_EQ(1, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 831 ASSERT_EQ(1, detached_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_manager.cc | 71 int num_panels_in_stack1 = stack1->num_panels(); in ComparerNumberOfPanelsInStack() 72 int num_panels_in_stack2 = stack2->num_panels(); in ComparerNumberOfPanelsInStack() 227 if (num_panels() == 0) { in CreatePanel() 345 if (detached_collection_->num_panels()) { in GetCollectionForNewPanel() 397 if (num_panels() == 1) { in OnPanelClosed() 414 DCHECK_GE(stack->num_panels(), 1); in OnPanelClosed() 415 if (stack->num_panels() == 1) { in OnPanelClosed() 439 DCHECK_EQ(0, stack->num_panels()); in RemoveStack() 515 int PanelManager::num_panels() const { in num_panels() function in PanelManager 516 int count = detached_collection_->num_panels() + in num_panels() [all …]
|
D | panel_drag_controller.cc | 259 if (original_stack->num_panels() == 0) in EndDragging() 432 if (num_panels_to_unstack == dragging_stack->num_panels()) in TryUnstackFromTop() 449 int num_panels_in_stack = dragging_stack->num_panels(); in TryUnstackFromTop() 528 DCHECK_GT(dragging_stack->num_panels(), 1); in TryUnstackFromBottom() 549 if (dragging_stack->num_panels() == 2) { in TryUnstackFromBottom() 558 DCHECK_GE(dragging_stack->num_panels(), 3); in TryUnstackFromBottom() 581 DCHECK_GE(dragging_stack->num_panels(), 4); in TryUnstackFromBottom() 801 if (stack && stack->num_panels() <= 1) { in MovePanelAndBelowToCollection() 802 if (stack->num_panels() == 1) { in MovePanelAndBelowToCollection()
|
D | panel_browsertest.cc | 282 EXPECT_EQ(3, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 325 EXPECT_EQ(0, panel_manager->num_panels()); // No panels initially. in IN_PROC_BROWSER_TEST_F() 328 EXPECT_EQ(1, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 341 EXPECT_EQ(0, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 1388 EXPECT_EQ(0, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 1398 EXPECT_EQ(1, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 1404 EXPECT_EQ(2, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 1439 EXPECT_EQ(0, panel_manager->num_panels()); // No panels initially. in IN_PROC_BROWSER_TEST_F() 1452 EXPECT_EQ(1, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 1456 EXPECT_EQ(0, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | panel_resize_browsertest.cc | 357 ASSERT_EQ(3, detached_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 378 EXPECT_EQ(2, detached_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 396 EXPECT_EQ(1, detached_collection->num_panels()); in IN_PROC_BROWSER_TEST_F() 523 ASSERT_EQ(3, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 525 ASSERT_EQ(3, stack->num_panels()); in IN_PROC_BROWSER_TEST_F()
|
D | panel_extension_browsertest.cc | 142 EXPECT_EQ(1, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F() 245 EXPECT_EQ(1, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F()
|
D | detached_panel_collection.h | 67 int num_panels() const { return panels_.size(); } in num_panels() function
|
D | panel_manager.h | 122 int num_panels() const;
|
D | stacked_panel_collection.h | 81 int num_panels() const { return panels_.size(); } in num_panels() function
|
D | docked_panel_collection.h | 100 int num_panels() const { return panels_.size(); } in num_panels() function
|
D | base_panel_browser_test.cc | 564 int panel_count = manager->num_panels(); in CloseWindowAndWait() 571 EXPECT_EQ(panel_count - 1, manager->num_panels()); in CloseWindowAndWait()
|
D | detached_panel_browsertest.cc | 29 EXPECT_EQ(1, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F()
|
D | docked_panel_browsertest.cc | 43 ASSERT_EQ(3, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F()
|
D | docked_panel_collection.cc | 435 DCHECK_LE(minimized_panel_count_, num_panels()); in UpdateMinimizedPanelCount()
|
/external/chromium_org/chrome/browser/extensions/ |
D | window_open_apitest.cc | 66 return PanelManager::GetInstance()->num_panels(); in GetPanelCount() 73 int num_panels) { in WaitForTabsAndPopups() argument 76 num_tabs, num_popups, num_panels)); in WaitForTabsAndPopups() 87 GetPanelCount(browser) == num_panels) in WaitForTabsAndPopups() 97 EXPECT_EQ(num_panels, GetPanelCount(browser)); in WaitForTabsAndPopups() 113 (num_panels == GetPanelCount(browser)) && in WaitForTabsAndPopups() 297 int num_popups, num_panels; in IN_PROC_BROWSER_TEST_F() local 300 num_panels = 2; in IN_PROC_BROWSER_TEST_F() 303 num_panels = 0; in IN_PROC_BROWSER_TEST_F() 307 int num_panels = 2; in IN_PROC_BROWSER_TEST_F() local [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/panels/ |
D | panel_cocoa_unittest.mm | 53 int panels_count = manager->num_panels(); 58 EXPECT_EQ(panels_count + 1, manager->num_panels()); 98 int panel_count = manager->num_panels(); 105 EXPECT_EQ(panel_count - 1, manager->num_panels()); 120 EXPECT_EQ(0, manager->num_panels()); // No panels initially. 136 EXPECT_EQ(0, manager->num_panels()); 286 EXPECT_EQ(1, manager->num_panels()); 293 EXPECT_EQ(0, manager->num_panels());
|
D | panel_cocoa_browsertest.mm | 31 EXPECT_EQ(1, PanelManager::GetInstance()->num_panels());
|
D | panel_window_controller_cocoa.mm | 788 return windowShim_->panel()->manager()->num_panels();
|
/external/chromium_org/ash/wm/panels/ |
D | panel_layout_manager.cc | 137 int num_panels = last - first; in FanOutPanels() local 138 if (num_panels == 1) { in FanOutPanels() 142 if (num_panels <= 1) in FanOutPanels() 145 if (num_panels == 2) { in FanOutPanels() 165 int delta = ((*(last - 1)).max_major - (*first).min_major) / (num_panels - 1); in FanOutPanels()
|