Searched refs:MenuPart (Results 1 – 2 of 2) sorted by relevance
244 struct MenuPart { struct253 MenuPart() : type(NONE), menu(NULL), parent(NULL), submenu(NULL) {} in MenuPart() argument347 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);
173 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 …]