/external/chromium/webkit/glue/ |
webmenuitem.h | 21 SUBMENU // This is currently only used by Pepper, not by WebKit. 36 std::vector<WebMenuItem> submenu; member in struct:WebMenuItem
|
/external/chromium_org/content/public/common/ |
menu_item.h | 24 SUBMENU // This is currently only used by Pepper, not by WebKit. 39 std::vector<MenuItem> submenu; member in struct:content::MenuItem
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_menu_delegate_unittest.cc | 152 // Reduce maximum 8. "OF1" submenu should not be created. 160 // Reduce maximum 7. "Other" submenu should be empty. 168 // Reduce maximum to 6. "Other" submenu should not be created, and no 201 EXPECT_EQ(views::MenuItemView::SUBMENU, F1_item->GetType()); 204 // Reduce maximum 2. Only "a" item and empty "F1" submenu should be created. 210 EXPECT_EQ(views::MenuItemView::SUBMENU, F1_item->GetType());
|
/external/chromium_org/ui/views/controls/menu/ |
menu_model_adapter_unittest.cc | 17 // Base command id for test menu and its submenu. 97 return items_[index].submenu; 132 submenu(item_submenu) { 137 ui::MenuModel* submenu; member in struct:__anon15064::MenuModelBase::Item 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) local [all...] |
menu_model_adapter.cc | 92 type = MenuItemView::SUBMENU; 272 DCHECK_EQ(MenuItemView::SUBMENU, item->GetType());
|
menu_item_view.cc | 93 type_(SUBMENU), 110 Init(NULL, 0, SUBMENU, delegate); 167 case SUBMENU: 252 if (type == SUBMENU) 268 // in case a submenu is being displayed while items are being removed. 283 gfx::ImageSkia(), SUBMENU, ui::NORMAL_SEPARATOR); 290 SUBMENU, ui::NORMAL_SEPARATOR); 497 // change to the submenu's size and no layout. 654 // Force us to have a submenu. 838 // Render the submenu indicator (arrow) [all...] |
menu_item_view.h | 43 // Each MenuItemView may also contain a submenu, which in turn may contain 52 // Views to the submenu of the MenuItemView. Any child views of the MenuItemView 79 SUBMENU, 183 // Append a submenu to this menu. 188 // Append a submenu with an icon to this menu. 222 // Returns the view that contains child menu items. If the submenu has 226 // Returns true if this menu item has a submenu. 463 // Submenu, created via CreateSubmenu.
|
menu_controller.cc | 190 DCHECK(part.submenu); 191 SubmenuView* new_menu = part.submenu; 197 start_y_ = part.submenu->GetVisibleBounds().y(); 216 SubmenuView* submenu() const { return submenu_; } function in class:views::MenuController::MenuScrollTask 532 part.submenu->child_count() == 1 && 533 part.submenu->child_at(0)->id() == MenuItemView::kEmptyMenuItemViewID) { 603 return part.submenu && part.submenu->OnMouseWheel(event); 637 // current menu is unset. Make sure the submenu remains open by sending the 647 if (!part.submenu) 1692 SubmenuView* submenu = item->GetSubmenu(); local 1874 SubmenuView* submenu = item->GetSubmenu(); local 2051 SubmenuView* submenu = parent->GetSubmenu(); local 2080 SubmenuView* submenu = parent->GetSubmenu(); local [all...] |
/external/chromium_org/chrome/renderer/pepper/ |
pepper_flash_menu_host.cc | 67 item.type = content::MenuItem::SUBMENU; 82 if (!ConvertMenuData(in_menu->items[i].submenu, depth + 1, &item.submenu,
|
/external/chromium/chrome/browser/tab_contents/ |
render_view_context_menu.cc | 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); local 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); local 378 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(this); local [all...] |
/external/chromium_org/chrome/browser/tab_contents/ |
render_view_context_menu.cc | 287 if (items[i].type == content::MenuItem::SUBMENU) { 288 if (IsCustomItemEnabled(items[i].submenu, id)) 302 if (items[i].type == content::MenuItem::SUBMENU) { 303 if (IsCustomItemChecked(items[i].submenu, id)) 351 case content::MenuItem::SUBMENU: { 352 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate); local 353 AddCustomItemsToMenu(items[i].submenu, depth + 1, total_items, delegate, 354 submenu); 358 submenu); [all...] |