Searched refs:HasSubmenu (Results 1 – 8 of 8) sorted by relevance
130 ASSERT_TRUE(root_item->HasSubmenu()); in TEST_F()134 ASSERT_TRUE(F1_item->HasSubmenu()); in TEST_F()137 ASSERT_TRUE(F11_item->HasSubmenu()); in TEST_F()140 ASSERT_TRUE(other_item->HasSubmenu()); in TEST_F()143 ASSERT_TRUE(OF1_item->HasSubmenu()); in TEST_F()
540 !(part.menu->HasSubmenu() && in OnMouseReleased()612 !(part.menu->HasSubmenu())) { in OnGestureEvent()694 if (menu_item->HasSubmenu() && in OnDragUpdated()711 SetSelection(menu_item, menu_item->HasSubmenu() ? SELECTION_OPEN_SUBMENU : in OnDragUpdated()966 if (part.menu->HasSubmenu()) in SetSelectionOnPointerDown()1041 if (pending_state_.item->HasSubmenu()) { in OnKeyDown()1063 (!state_.item->HasSubmenu() || in OnKeyDown()1340 if (item->HasSubmenu() && item->GetSubmenu()->IsShowing() && in GetMenuPartByScreenCoordinateUsingMenu()1407 if (current_path[i]->HasSubmenu()) { in CommitPendingSelection()1446 if (state_.item->HasSubmenu()) { in CommitPendingSelection()[all …]
338 bool MenuItemView::HasSubmenu() const { in HasSubmenu() function in views::MenuItemView487 if (!HasSubmenu()) in GetMenuItemByID()717 DCHECK(HasSubmenu()); in AddEmptyMenus()724 if (child->HasSubmenu()) in AddEmptyMenus()731 DCHECK(HasSubmenu()); in RemoveEmptyMenus()738 if (menu_item->HasSubmenu()) in RemoveEmptyMenus()858 if (HasSubmenu()) { in PaintButton()902 if (!HasSubmenu()) in DestroyAllMenuHosts()1061 } else if (menu_item->HasSubmenu()) { in GetMaxIconViewWidth()1074 if (menu_item->HasSubmenu()) { in HasChecksOrRadioButtons()
30 if (menu->HasSubmenu()) { in BuildMenu()119 const int menu_index = menu->HasSubmenu() ? in AppendMenuItemFromModel()
213 virtual bool HasSubmenu() const;
212 EXPECT_TRUE(menu->HasSubmenu()); in TEST_F()
752 if (menu_item_->HasSubmenu()) { in OnMenuStructureChanged()1055 if (menu->HasSubmenu() && feedback_menu_item_ && in WillHideMenu()1094 int menu_index = parent->HasSubmenu() ? in PopulateMenu()
324 has_submenu = static_cast<views::MenuItemView*>(view)->HasSubmenu(); in SendMenuItemNotification()