Home
last modified time | relevance | path

Searched refs:GetSubmenu (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_menu_delegate_unittest.cc128 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 …]
Dbookmark_bar_view_test.cc265 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 …]
Dbookmark_menu_delegate.cc75 int initial_count = parent->GetSubmenu() ? in Init()
76 parent->GetSubmenu()->GetMenuItemCount() : 0; in Init()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_view_test.cc289 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/
Dmenu_item_view_test.cc141 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()
Dmenu_model_adapter_test.cc254 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/
Dmenu_controller.cc801 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 …]
Dmenu_model_adapter_unittest.cc215 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()
Dmenu_item_view.cc337 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()
Dmenu_model_adapter.cc31 const int subitem_count = menu->GetSubmenu()->child_count(); in BuildMenu()
120 menu->GetSubmenu()->child_count() : 0; in AppendMenuItemFromModel()
Dmenu_item_view.h230 virtual SubmenuView* GetSubmenu() const;
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dwrench_menu.cc881 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()