Searched refs:GetSubmenu (Results 1 – 12 of 12) sorted by relevance
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_menu_delegate_unittest.cc | 128 EXPECT_EQ(4, root_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() 129 EXPECT_EQ(5, root_item->GetSubmenu()->child_count()); // Includes separator. in TEST_F() 130 views::MenuItemView* F1_item = root_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F() 132 EXPECT_EQ(2, F1_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() 133 views::MenuItemView* F11_item = F1_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F() 135 EXPECT_EQ(1, F11_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() 136 views::MenuItemView* other_item = root_item->GetSubmenu()->GetMenuItemAt(3); in TEST_F() 138 EXPECT_EQ(2, other_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() 139 views::MenuItemView* OF1_item = other_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F() 141 EXPECT_EQ(1, OF1_item->GetSubmenu()->GetMenuItemCount()); in TEST_F() [all …]
|
D | bookmark_bar_view_test.cc | 265 ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); in Step2() 272 ASSERT_TRUE(menu->GetSubmenu()); in Step2() 275 menu->GetSubmenu()->GetMenuItemAt(0); in Step2() 291 ASSERT_TRUE(menu == NULL || !menu->GetSubmenu()->IsShowing()); in Step3() 315 ASSERT_TRUE(menu != NULL && menu->GetSubmenu()->IsShowing()); in Step2() 340 ASSERT_TRUE(menu == NULL || !menu->GetSubmenu()->IsShowing()); in Step4() 377 ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); in Step2() 380 menu->GetSubmenu()->GetMenuItemAt(1); in Step2() 394 menu->GetSubmenu()->GetMenuItemAt(1); in Step3() 395 ASSERT_TRUE(child_menu->GetSubmenu() != NULL); in Step3() [all …]
|
D | bookmark_menu_delegate.cc | 75 int initial_count = parent->GetSubmenu() ? in Init() 76 parent->GetSubmenu()->GetMenuItemCount() : 0; in Init()
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_bar_view_test.cc | 289 ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); in Step2() 296 ASSERT_TRUE(menu->GetSubmenu()); in Step2() 299 menu->GetSubmenu()->GetMenuItemAt(0); in Step2() 316 ASSERT_TRUE(menu == NULL || !menu->GetSubmenu()->IsShowing()); in Step3() 342 ASSERT_TRUE(menu != NULL && menu->GetSubmenu()->IsShowing()); in Step2() 359 ASSERT_TRUE(menu == NULL || !menu->GetSubmenu()->IsShowing()); in Step3() 393 ASSERT_TRUE(menu->GetSubmenu()->IsShowing()); in Step2() 396 menu->GetSubmenu()->GetMenuItemAt(1); in Step2() 409 menu->GetSubmenu()->GetMenuItemAt(1); in Step3() 410 ASSERT_TRUE(child_menu->GetSubmenu() != NULL); in Step3() [all …]
|
/external/chromium_org/chrome/browser/ui/views/ |
D | menu_item_view_test.cc | 141 views::SubmenuView* submenu = menu_->GetSubmenu(); in Step1() 154 ASSERT_FALSE(menu_->GetSubmenu()->IsShowing()); in Step2() 203 views::SubmenuView* submenu = menu_->GetSubmenu(); in Step1() 229 views::SubmenuView* submenu = menu_->GetSubmenu(); in Step2() 370 views::SubmenuView* submenu = menu_->GetSubmenu(); in Step1() 389 views::SubmenuView* submenu = menu_->GetSubmenu(); in Step2() 454 views::SubmenuView* submenu = menu_->GetSubmenu(); in Step1() 466 views::SubmenuView* submenu = menu_->GetSubmenu(); in Step2() 483 views::SubmenuView* submenu = menu_->GetSubmenu(); in Step3()
|
D | menu_model_adapter_test.cc | 254 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step1() 267 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step2() 281 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step3() 292 views::SubmenuView* topmenu = menu_->GetSubmenu(); in Step4()
|
/external/chromium_org/ui/views/controls/menu/ |
D | menu_controller.cc | 801 submenu->GetMenuItem()->GetRootMenuItem()->GetSubmenu(); in UpdateSubmenuSelection() 1151 !state_.item->GetSubmenu()->IsShowing()))) { in OnKeyDown() 1432 if (item->HasSubmenu() && item->GetSubmenu()->IsShowing() && in GetMenuPartByScreenCoordinateUsingMenu() 1433 GetMenuPartByScreenCoordinateImpl(item->GetSubmenu(), screen_loc, in GetMenuPartByScreenCoordinateUsingMenu() 1500 current_path[i]->GetSubmenu()->Hide(); in CommitPendingSelection() 1544 state_.item->GetSubmenu()->IsShowing()) { in CommitPendingSelection() 1545 state_.item->GetSubmenu()->Hide(); in CommitPendingSelection() 1554 found = (item->HasSubmenu() && item->GetSubmenu()->IsShowing() && in CommitPendingSelection() 1555 item->GetSubmenu() == scroll_task_->submenu()); in CommitPendingSelection() 1566 item->GetSubmenu()->Hide(); in CloseMenu() [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.cc | 337 SubmenuView* MenuItemView::GetSubmenu() const { in GetSubmenu() function in views::MenuItemView 471 for (int i = 0; i < GetSubmenu()->child_count(); ++i) { in GetMenuItemByID() 472 View* child = GetSubmenu()->child_at(i); in GetMenuItemByID() 738 parent_menu_item_->GetSubmenu()->GetShowSelection(this) && in PaintButton() 806 int accel_width = parent_menu_item_->GetSubmenu()->max_minor_text_width(); in PaintButton() 860 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 | 230 virtual SubmenuView* GetSubmenu() const;
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | wrench_menu.cc | 881 views::SubmenuView* submenu = menu_item_->GetSubmenu(); in OnMenuStructureChanged() 1192 menu->GetSubmenu()->GetWidget()-> in WillHideMenu() 1230 parent->GetSubmenu()->child_count() : 0; in PopulateMenu() 1314 parent->GetSubmenu()->AddChildViewAt(menu_item, menu_index); in AddMenuItem()
|