Home
last modified time | relevance | path

Searched refs:num_panels (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/chrome/browser/ui/panels/
Dstacked_panel_browsertest.cc40 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 …]
Dpanel_drag_browsertest.cc609 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 …]
Dpanel_manager.cc71 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 …]
Dpanel_drag_controller.cc259 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()
Dpanel_browsertest.cc282 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 …]
Dpanel_resize_browsertest.cc357 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()
Dpanel_extension_browsertest.cc142 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()
Ddetached_panel_collection.h67 int num_panels() const { return panels_.size(); } in num_panels() function
Dpanel_manager.h122 int num_panels() const;
Dstacked_panel_collection.h81 int num_panels() const { return panels_.size(); } in num_panels() function
Ddocked_panel_collection.h100 int num_panels() const { return panels_.size(); } in num_panels() function
Dbase_panel_browser_test.cc564 int panel_count = manager->num_panels(); in CloseWindowAndWait()
571 EXPECT_EQ(panel_count - 1, manager->num_panels()); in CloseWindowAndWait()
Ddetached_panel_browsertest.cc29 EXPECT_EQ(1, panel_manager->num_panels()); in IN_PROC_BROWSER_TEST_F()
Ddocked_panel_browsertest.cc43 ASSERT_EQ(3, docked_collection->num_panels()); in IN_PROC_BROWSER_TEST_F()
Ddocked_panel_collection.cc435 DCHECK_LE(minimized_panel_count_, num_panels()); in UpdateMinimizedPanelCount()
/external/chromium_org/chrome/browser/extensions/
Dwindow_open_apitest.cc66 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/
Dpanel_cocoa_unittest.mm53 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());
Dpanel_cocoa_browsertest.mm31 EXPECT_EQ(1, PanelManager::GetInstance()->num_panels());
Dpanel_window_controller_cocoa.mm788 return windowShim_->panel()->manager()->num_panels();
/external/chromium_org/ash/wm/panels/
Dpanel_layout_manager.cc137 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()