Lines Matching refs:SUBMENU
79 if (items[i].type == WebMenuItem::SUBMENU) {
80 if (IsCustomItemEnabled(items[i].submenu, id))
94 if (items[i].type == WebMenuItem::SUBMENU) {
95 if (IsCustomItemChecked(items[i].submenu, id))
143 case WebMenuItem::SUBMENU: {
144 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate);
145 AddCustomItemsToMenu(items[i].submenu, depth + 1, total_items, delegate,
146 submenu);
150 submenu);
316 // If they have more than that, we automatically push them into a submenu.
335 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(this);
336 extension_menu_models_.push_back(submenu);
337 menu_model_.AddSubMenu(menu_id, title, submenu);
338 RecursivelyAppendExtensionItems(submenu_items, can_cross_incognito, submenu,
378 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(this);
379 extension_menu_models_.push_back(submenu);
380 menu_model->AddSubMenu(menu_id, title, submenu);
382 submenu, index);