Home
last modified time | relevance | path

Searched refs:MenuPart (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/views/controls/menu/
Dmenu_controller.h210 struct MenuPart { struct
219 MenuPart() : type(NONE), menu(NULL), parent(NULL), submenu(NULL) {} in MenuPart() function
317 MenuPart::Type* part);
321 MenuPart GetMenuPart(SubmenuView* source, const gfx::Point& source_loc);
325 MenuPart GetMenuPartByScreenCoordinateUsingMenu(MenuItemView* item,
333 MenuPart* part);
445 void UpdateScrolling(const MenuPart& part);
Dmenu_controller.cc185 void Update(const MenuController::MenuPart& part) { in Update()
192 bool new_is_up = (part.type == MenuController::MenuPart::SCROLL_UP); in Update()
494 MenuPart part = GetMenuPart(source, event.location()); in OnMouseDragged()
506 if (part.type == MenuPart::MENU_ITEM) { in OnMouseDragged()
512 } else if (part.type == MenuPart::NONE) { in OnMouseDragged()
526 MenuPart part = GetMenuPart(source, event.location()); in OnMouseReleased()
527 if (event.IsRightMouseButton() && part.type == MenuPart::MENU_ITEM) { in OnMouseReleased()
580 } else if (part.type == MenuPart::MENU_ITEM) { in OnMouseReleased()
602 MenuPart part = GetMenuPart(source, event.location()); in OnMouseWheel()
609 MenuPart part = GetMenuPart(source, event->location()); in OnGestureEvent()
[all …]