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.h244 struct MenuPart { struct
253 MenuPart() : type(NONE), menu(NULL), parent(NULL), submenu(NULL) {} in MenuPart() argument
347 MenuPart::Type* part);
351 MenuPart GetMenuPart(SubmenuView* source, const gfx::Point& source_loc);
355 MenuPart GetMenuPartByScreenCoordinateUsingMenu(MenuItemView* item,
363 MenuPart* part);
475 void UpdateScrolling(const MenuPart& part);
Dmenu_controller.cc173 void Update(const MenuController::MenuPart& part) { in Update()
180 bool new_is_up = (part.type == MenuController::MenuPart::SCROLL_UP); in Update()
488 MenuPart part = GetMenuPart(source, event.location()); in OnMouseDragged()
500 if (part.type == MenuPart::MENU_ITEM) { in OnMouseDragged()
506 } else if (part.type == MenuPart::NONE) { in OnMouseDragged()
520 MenuPart part = GetMenuPart(source, event.location()); in OnMouseReleased()
521 if (event.IsRightMouseButton() && part.type == MenuPart::MENU_ITEM) { in OnMouseReleased()
574 } else if (part.type == MenuPart::MENU_ITEM) { in OnMouseReleased()
595 MenuPart part = GetMenuPart(source, event.location()); in OnMouseWheel()
601 MenuPart part = GetMenuPart(source, event->location()); in OnGestureEvent()
[all …]