/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_menu_delegate_unittest.cc | 131 EXPECT_EQ(4, root_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() 132 EXPECT_EQ(5, root_item->GetSubmenu()->child_count()); // Includes separator. in TEST_F() 133 views::MenuItemView* F1_item = root_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F() 135 EXPECT_EQ(2, F1_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() 136 views::MenuItemView* F11_item = F1_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F() 138 EXPECT_EQ(1, F11_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() 139 views::MenuItemView* other_item = root_item->GetSubmenu()->GetMenuItemAt(3); in TEST_F() 141 EXPECT_EQ(2, other_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() 142 views::MenuItemView* OF1_item = other_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F() 144 EXPECT_EQ(1, OF1_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() [all …]
|
D | bookmark_bar_view_test.cc | 413 ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); in Step2() 420 ASSERT_TRUE(menu->GetSubmenu()); in Step2() 423 menu->GetSubmenu()->GetMenuItemAt(0); in Step2() 439 ASSERT_TRUE(menu == NULL || !menu->GetSubmenu()->IsShowing()); in Step3() 463 ASSERT_TRUE(menu != NULL && menu->GetSubmenu()->IsShowing()); in Step2() 488 ASSERT_TRUE(menu == NULL || !menu->GetSubmenu()->IsShowing()); in Step4() 525 ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); in Step2() 528 menu->GetSubmenu()->GetMenuItemAt(1); in Step2() 542 menu->GetSubmenu()->GetMenuItemAt(1); in Step3() 543 ASSERT_TRUE(child_menu->GetSubmenu() != NULL); in Step3() [all …]
|
D | bookmark_menu_delegate.cc | 86 int initial_count = parent->GetSubmenu() ? in Init() 87 parent->GetSubmenu()->GetMenuItemCount() : 0; in Init()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | menu_item_view_interactive_uitest.cc | 34 views::SubmenuView* submenu = menu()->GetSubmenu(); in DoTestWithMenuOpen() 47 ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); in Step2() 82 views::SubmenuView* submenu = menu()->GetSubmenu(); in DoTestWithMenuOpen() 106 views::SubmenuView* submenu = menu()->GetSubmenu(); in Step2() 224 views::SubmenuView* submenu = menu()->GetSubmenu(); in DoTestWithMenuOpen() 241 views::SubmenuView* submenu = menu()->GetSubmenu(); in Step2() 291 views::SubmenuView* submenu = menu()->GetSubmenu(); in DoTestWithMenuOpen() 301 views::SubmenuView* submenu = menu()->GetSubmenu(); in Step2() 316 views::SubmenuView* submenu = menu()->GetSubmenu(); in Step3()
|
D | menu_controller_test.cc | 27 ASSERT_TRUE(menu()->GetSubmenu()->IsShowing()); in DoTestWithMenuOpen() 38 ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); in Step2() 44 ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); in Step3()
|
D | menu_controller_interactive_uitest.cc | 27 ASSERT_TRUE(menu()->GetSubmenu()->IsShowing()); in DoTestWithMenuOpen() 38 ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); in Step2() 44 ASSERT_FALSE(menu()->GetSubmenu()->IsShowing()); in Step3()
|
D | menu_view_drag_and_drop_test.cc | 286 views::SubmenuView* submenu = menu()->GetSubmenu(); in DoTestWithMenuOpen() 308 views::MenuItemView* drop_target = menu()->GetSubmenu()->GetMenuItemAt(2); in Step2() 323 views::MenuItemView* drop_target = menu()->GetSubmenu()->GetMenuItemAt(2); in Step3() 343 EXPECT_FALSE(menu()->GetSubmenu()->IsShowing()); in Step4() 373 views::SubmenuView* submenu = menu()->GetSubmenu(); in DoTestWithMenuOpen() 440 EXPECT_TRUE(menu()->GetSubmenu()->IsShowing()); in Step4() 443 menu()->GetSubmenu()->Close(); in Step4() 474 views::SubmenuView* submenu = menu()->GetSubmenu(); in DoTestWithMenuOpen() 505 views::SubmenuView* submenu = menu()->GetSubmenu(); in DoTestWithMenuOpen()
|
D | menu_model_adapter_test.cc | 249 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step1() 262 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step2() 276 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step3() 287 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step4()
|
/external/chromium_org/ui/views/controls/menu/ |
D | menu_controller.cc | 807 submenu->GetMenuItem()->GetRootMenuItem()->GetSubmenu(); in UpdateSubmenuSelection() 1043 pending_state_.item->GetSubmenu()->IsShowing()) in OnKeyDown() 1064 !state_.item->GetSubmenu()->IsShowing()))) { in OnKeyDown() 1340 if (item->HasSubmenu() && item->GetSubmenu()->IsShowing() && in GetMenuPartByScreenCoordinateUsingMenu() 1341 GetMenuPartByScreenCoordinateImpl(item->GetSubmenu(), screen_loc, in GetMenuPartByScreenCoordinateUsingMenu() 1408 current_path[i]->GetSubmenu()->Hide(); in CommitPendingSelection() 1452 state_.item->GetSubmenu()->IsShowing()) { in CommitPendingSelection() 1453 state_.item->GetSubmenu()->Hide(); in CommitPendingSelection() 1462 found = (item->HasSubmenu() && item->GetSubmenu()->IsShowing() && in CommitPendingSelection() 1463 item->GetSubmenu() == scroll_task_->submenu()); in CommitPendingSelection() [all …]
|
D | menu_model_adapter_unittest.cc | 215 views::SubmenuView* item_container = menu->GetSubmenu(); in TEST_F() 229 EXPECT_EQ(i, menu->GetSubmenu()->GetIndexOf(item)); in TEST_F() 258 views::SubmenuView* subitem_container = submenu->GetSubmenu(); in TEST_F() 276 EXPECT_EQ(i, submenu->GetSubmenu()->GetIndexOf(item)); in TEST_F()
|
D | menu_item_view_unittest.cc | 55 views::SubmenuView* submenu = root_menu.GetSubmenu(); in TEST()
|
D | menu_item_view.cc | 342 SubmenuView* MenuItemView::GetSubmenu() const { in GetSubmenu() function in views::MenuItemView 489 for (int i = 0; i < GetSubmenu()->child_count(); ++i) { in GetMenuItemByID() 490 View* child = GetSubmenu()->child_at(i); in GetMenuItemByID() 756 parent_menu_item_->GetSubmenu()->GetShowSelection(this) && in PaintButton() 829 int accel_width = parent_menu_item_->GetSubmenu()->max_minor_text_width(); in PaintButton() 878 parent_menu_item_->GetSubmenu()->max_minor_text_width(); in PaintMinorText()
|
D | menu_model_adapter.cc | 31 const int subitem_count = menu->GetSubmenu()->child_count(); in BuildMenu() 120 menu->GetSubmenu()->child_count() : 0; in AppendMenuItemFromModel()
|
D | menu_item_view.h | 216 virtual SubmenuView* GetSubmenu() const;
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | wrench_menu.cc | 754 views::SubmenuView* submenu = menu_item_->GetSubmenu(); in OnMenuStructureChanged() 1060 menu->GetSubmenu()->GetWidget()-> in WillHideMenu() 1095 parent->GetSubmenu()->child_count() : 0; in PopulateMenu()
|