Lines Matching refs:SUBMENU
17 // Base command id for test menu and its submenu.
97 return items_[index].submenu;
132 submenu(item_submenu) {
137 ui::MenuModel* submenu;
163 items_.push_back(Item(TYPE_COMMAND, "submenu item 0", NULL));
164 items_.push_back(Item(TYPE_COMMAND, "submenu item 1", NULL));
182 items_.push_back(Item(TYPE_SUBMENU, "submenu 3", submenu_model_.get()));
246 EXPECT_EQ(views::MenuItemView::SUBMENU, item->GetType());
256 // Check submenu items.
257 views::MenuItemView* submenu = menu->GetMenuItemByID(103);
258 views::SubmenuView* subitem_container = submenu->GetSubmenu();
276 EXPECT_EQ(i, submenu->GetSubmenu()->GetIndexOf(item));
293 EXPECT_EQ(views::MenuItemView::SUBMENU, item->GetType());