Home
last modified time | relevance | path

Searched refs:GetMenuItemAt (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_menu_delegate_unittest.cc133 views::MenuItemView* F1_item = root_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F()
136 views::MenuItemView* F11_item = F1_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F()
139 views::MenuItemView* other_item = root_item->GetSubmenu()->GetMenuItemAt(3); in TEST_F()
142 views::MenuItemView* OF1_item = other_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F()
151 other_item = root_item->GetSubmenu()->GetMenuItemAt(3); in TEST_F()
152 OF1_item = other_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F()
160 other_item = root_item->GetSubmenu()->GetMenuItemAt(3); in TEST_F()
168 other_item = root_item->GetSubmenu()->GetMenuItemAt(3); in TEST_F()
183 F1_item = root_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F()
184 F11_item = F1_item->GetSubmenu()->GetMenuItemAt(1); in TEST_F()
[all …]
Dbookmark_bar_view_test.cc423 menu->GetSubmenu()->GetMenuItemAt(0); in Step2()
528 menu->GetSubmenu()->GetMenuItemAt(1); in Step2()
542 menu->GetSubmenu()->GetMenuItemAt(1); in Step3()
547 child_menu = menu->GetSubmenu()->GetMenuItemAt(2); in Step3()
558 menu->GetSubmenu()->GetMenuItemAt(1); in Step4()
563 child_menu = menu->GetSubmenu()->GetMenuItemAt(2); in Step4()
635 menu->GetSubmenu()->GetMenuItemAt(0); in Step2()
653 menu->GetSubmenu()->GetMenuItemAt(0), in Step3()
691 menu->GetSubmenu()->GetMenuItemAt(0); in Step2()
702 bb_view_->GetMenu()->GetSubmenu()->GetMenuItemAt(1); in Step3()
[all …]
/external/chromium_org/ui/views/controls/menu/
Dsubmenu_view.cc71 MenuItemView* SubmenuView::GetMenuItemAt(int index) { in GetMenuItemAt() function in views::SubmenuView
247 while ((i < menu_item_count) && (GetMenuItemAt(i)->y() < vis_bounds.y())) in OnMouseWheel()
252 (GetMenuItemAt(i)->y() == vis_bounds.y()) ? i : i - 1); in OnMouseWheel()
264 if (GetMenuItemAt(first_vis_index)->y() == vis_bounds.y()) { in OnMouseWheel()
269 scroll_target = GetMenuItemAt(first_vis_index)->y(); in OnMouseWheel()
273 scroll_target = GetMenuItemAt(first_vis_index + 1)->y(); in OnMouseWheel()
274 if (GetMenuItemAt(first_vis_index)->y() == vis_bounds.y()) in OnMouseWheel()
336 GetMenuItemAt(row), in SetSelectedRow()
341 return GetMenuItemAt(row)->title(); in GetTextForRow()
Dmenu_item_view_unittest.cc58 ASSERT_EQ(label_view, submenu->GetMenuItemAt(0)); in TEST()
62 ASSERT_EQ(flexible_view, submenu->GetMenuItemAt(1)); in TEST()
Dmenu_controller.cc678 MenuItemView* menu_item = GetMenuItemAt(source, event.x(), event.y()); in OnDragUpdated()
778 SetDropMenuItem(source->GetMenuItemAt(0), MenuDelegate::DROP_NONE); in OnDragEnteredScrollButton()
1284 MenuItemView* MenuController::GetMenuItemAt(View* source, int x, int y) { in GetMenuItemAt() function in views::MenuController
1374 part->menu = GetMenuItemAt(menu, menu_loc.x(), menu_loc.y()); in GetMenuPartByScreenCoordinateImpl()
1866 SetSelection(item->GetSubmenu()->GetMenuItemAt(0), SELECTION_DEFAULT); in IncrementSelection()
1896 if (parent->GetSubmenu()->GetMenuItemAt(i) == item) { in IncrementSelection()
1924 MenuItemView* child = parent->GetSubmenu()->GetMenuItemAt(index); in FindNextSelectableMenuItem()
1935 SetSelection(item->GetSubmenu()->GetMenuItemAt(0), in OpenSubmenuChangeSelectionIfCan()
1965 MenuItemView* child = submenu->GetMenuItemAt(i); in FindChildForMnemonic()
1992 if (submenu->GetMenuItemAt(details.first_match)->HasSubmenu()) { in AcceptOrSelect()
[all …]
Dsubmenu_view.h53 MenuItemView* GetMenuItemAt(int index);
Dmenu_item_view.cc723 MenuItemView* child = submenu_->GetMenuItemAt(i); in AddEmptyMenus()
908 submenu_->GetMenuItemAt(i)->DestroyAllMenuHosts(); in DestroyAllMenuHosts()
1054 MenuItemView* menu_item = submenu_->GetMenuItemAt(i); in GetMaxIconViewWidth()
1073 MenuItemView* menu_item = submenu_->GetMenuItemAt(i); in HasChecksOrRadioButtons()
Dmenu_controller.h336 MenuItemView* GetMenuItemAt(View* menu, int x, int y);
/external/chromium_org/chrome/browser/ui/views/
Dmenu_view_drag_and_drop_test.cc293 target_view()->Init(submenu->GetMenuItemAt(0)); in DoTestWithMenuOpen()
296 views::MenuItemView* drag_view = submenu->GetMenuItemAt(1); in DoTestWithMenuOpen()
308 views::MenuItemView* drop_target = menu()->GetSubmenu()->GetMenuItemAt(2); in Step2()
323 views::MenuItemView* drop_target = menu()->GetSubmenu()->GetMenuItemAt(2); in Step3()
377 views::View* first_view = submenu->GetMenuItemAt(0); in DoTestWithMenuOpen()
384 target_view()->Init(submenu->GetMenuItemAt(0)); in DoTestWithMenuOpen()
Dmenu_item_view_interactive_uitest.cc40 views::MenuItemView* item = submenu->GetMenuItemAt(INDEX); in DoTestWithMenuOpen()
99 views::MenuItemView* item = submenu->GetMenuItemAt(SELECT_INDEX); in DoTestWithMenuOpen()
234 views::MenuItemView* item = submenu->GetMenuItemAt(SELECT_INDEX); in DoTestWithMenuOpen()
Dmenu_model_adapter_test.cc255 views::MenuItemView* item = topmenu->GetMenuItemAt(0); in Step1()