Home
last modified time | relevance | path

Searched refs:submenu (Results 1 – 25 of 54) sorted by relevance

123

/external/webkit/Source/WebKit2/Shared/
DWebContextMenuItem.cpp43 Vector<WebContextMenuItemData> submenu; in create() local
44 submenu.reserveCapacity(size); in create()
49 submenu.append(*item->data()); in create()
52 …m(WebContextMenuItemData(WebCore::ContextMenuItemTagNoAction, title, enabled, submenu))).leakRef(); in create()
66 const Vector<WebContextMenuItemData>& submenuVector(m_webContextMenuItemData.submenu()); in submenuItemsAsImmutableArray()
DWebContextMenuItemData.cpp57 …enuAction action, const String& title, bool enabled, const Vector<WebContextMenuItemData>& submenu) in WebContextMenuItemData() argument
63 , m_submenu(submenu) in WebContextMenuItemData()
116 Vector<WebContextMenuItemData> submenu; in decode() local
118 if (!decoder->decode(CoreIPC::Out(type, action, title, checked, enabled, submenu))) in decode()
128 …= WebContextMenuItemData(static_cast<WebCore::ContextMenuAction>(action), title, enabled, submenu); in decode()
DWebContextMenuItemData.h50 …ntextMenuAction, const String& title, bool enabled, const Vector<WebContextMenuItemData>& submenu);
57 const Vector<WebContextMenuItemData>& submenu() const { return m_submenu; } in submenu() function
/external/clang/www/
Dmenu.html.incl6 <div class="submenu">
18 <div class="submenu">
28 <div class="submenu">
33 <div class="submenu">
41 <div class="submenu">
49 <div class="submenu">
55 <div class="submenu">
Dmenu.css20 #menu .submenu {
/external/chromium/chrome/browser/ui/gtk/
Dmenu_bar_helper.cc20 GtkWidget* submenu = gtk_menu_item_get_submenu(GTK_MENU_ITEM(child)); in PopulateSubmenus() local
21 if (submenu) { in PopulateSubmenus()
22 submenus->push_back(submenu); in PopulateSubmenus()
23 gtk_container_foreach(GTK_CONTAINER(submenu), PopulateSubmenus, submenus); in PopulateSubmenus()
Dmenu_gtk.cc495 GtkWidget* submenu = gtk_menu_new(); in BuildSubmenuFromModel() local
496 BuildSubmenuFromModel(model->GetSubmenuModelAt(i), submenu); in BuildSubmenuFromModel()
497 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu_item), submenu); in BuildSubmenuFromModel()
827 GtkWidget* submenu = gtk_menu_item_get_submenu(GTK_MENU_ITEM(widget)); in SetMenuItemInfo() local
828 if (submenu) { in SetMenuItemInfo()
829 gtk_container_foreach(GTK_CONTAINER(submenu), &SetMenuItemInfo, in SetMenuItemInfo()
/external/chromium/chrome/browser/ui/cocoa/
Dhistory_menu_bridge.mm175 // If this is a window, create a submenu for all of its tabs.
189 // Create the submenu.
190 scoped_nsobject<NSMenu> submenu([[NSMenu alloc] init]);
192 // Create standard items within the window submenu.
205 [submenu addItem:restore_item.get()];
206 [submenu addItem:[NSMenuItem separatorItem]];
208 // Loop over the window's tabs and add them to the submenu.
209 NSInteger subindex = [[submenu itemArray] count];
216 AddItemToMenu(tab_item, submenu.get(), kRecentlyClosed + 1,
234 if ([[submenu itemArray] count] > 2) {
[all …]
Dmenu_controller_unittest.mm111 // Inspect the submenu to ensure it has correct properties.
112 NSMenu* submenu = [[[menu menu] itemAtIndex:1] submenu];
113 EXPECT_TRUE(submenu);
114 EXPECT_EQ([submenu numberOfItems], 3);
118 NSMenuItem* submenuItem = [submenu itemAtIndex:1];
124 // Make sure the item after the submenu is correct and its represented
185 Validate(controller, [item submenu]);
Dmenu_controller.mm103 // Recursively build a submenu from the sub-model at this index.
107 NSMenu* submenu =
109 [item setSubmenu:submenu];
Dbrowser_window_cocoa.mm427 NSMenu* submenu = [item submenu];
428 if (submenu) {
429 if (submenu != [NSApp servicesMenu])
431 menu:submenu];
/external/chromium/webkit/glue/
Dwebmenuitem.cc34 submenu(item.submenu) { in WebMenuItem()
Dwebmenuitem.h36 std::vector<WebMenuItem> submenu; member
/external/webkit/Source/WebKit/efl/ewk/
Dewk_contextmenu.cpp57 Ewk_Context_Menu* submenu; /**< contains the pointer to the submenu of the item */ member
142 Ewk_Context_Menu_Action action, Ewk_Context_Menu* submenu, in ewk_context_menu_item_new() argument
152 item->submenu = submenu; in ewk_context_menu_item_new()
Dewk_contextmenu.h151 …t_Menu_Item_Type type, Ewk_Context_Menu_Action action, Ewk_Context_Menu* submenu, const char* titl…
/external/chromium/chrome/browser/extensions/
Dextension_context_menu_browsertest.cc348 MenuModel* submenu = model->GetSubmenuModelAt(index); in IN_PROC_BROWSER_TEST_F() local
349 ASSERT_TRUE(submenu != NULL); in IN_PROC_BROWSER_TEST_F()
350 VerifyMenuForSeparatorsTest(*submenu); in IN_PROC_BROWSER_TEST_F()
362 submenu = model->GetSubmenuModelAt(index); in IN_PROC_BROWSER_TEST_F()
363 ASSERT_TRUE(submenu != NULL); in IN_PROC_BROWSER_TEST_F()
364 VerifyMenuForSeparatorsTest(*submenu); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/tab_contents/
Drender_view_context_menu.cc80 if (IsCustomItemEnabled(items[i].submenu, id)) in IsCustomItemEnabled()
95 if (IsCustomItemChecked(items[i].submenu, id)) in IsCustomItemChecked()
144 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(delegate); in AddCustomItemsToMenu() local
145 AddCustomItemsToMenu(items[i].submenu, depth + 1, total_items, delegate, in AddCustomItemsToMenu()
146 submenu); in AddCustomItemsToMenu()
150 submenu); in AddCustomItemsToMenu()
335 ui::SimpleMenuModel* submenu = new ui::SimpleMenuModel(this); in AppendExtensionItems() local
336 extension_menu_models_.push_back(submenu); in AppendExtensionItems()
337 menu_model_.AddSubMenu(menu_id, title, submenu); in AppendExtensionItems()
338 RecursivelyAppendExtensionItems(submenu_items, can_cross_incognito, submenu, in AppendExtensionItems()
[all …]
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_view_test.cc929 views::MenuItemView* submenu = menu->GetSubmenu()->GetMenuItemAt(1); in Step5() local
930 ASSERT_TRUE(submenu->IsSelected()); in Step5()
931 ASSERT_TRUE(submenu->GetSubmenu()); in Step5()
932 ASSERT_TRUE(submenu->GetSubmenu()->IsShowing()); in Step5()
945 views::MenuItemView* submenu = menu->GetSubmenu()->GetMenuItemAt(1); in Step6() local
946 ASSERT_TRUE(submenu->IsSelected()); in Step6()
947 ASSERT_TRUE(!submenu->GetSubmenu() || !submenu->GetSubmenu()->IsShowing()); in Step6()
1179 views::SubmenuView* submenu = menu->GetSubmenu(); in Step3() local
1181 for (int i = 0; i < submenu->child_count(); ++i) { in Step3()
1182 if (submenu->GetChildViewAt(i)->GetID() != in Step3()
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_menu_bridge.mm71 // Create a submenu for "other bookmarks", and fill it in.
207 NSMenu* submenu = [[[NSMenu alloc] initWithTitle:title] autorelease];
208 [menu setSubmenu:submenu forItem:item];
209 AddNodeToMenu(child, submenu); // recursive call
Dbookmark_menu_bridge_unittest.mm96 // submenu.
187 // And the submenu fo the middle one
354 ASSERT_GT([[other submenu] numberOfItems], 0);
355 EXPECT_NSEQ(@"http://foo/", [[[other submenu] itemAtIndex:0] title]);
/external/chromium/chrome/browser/renderer_host/
Dgtk_im_context_wrapper.cc326 GtkWidget* submenu = gtk_menu_new(); in AppendInputMethodsContextMenu() local
327 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), submenu); in AppendInputMethodsContextMenu()
329 GTK_MENU_SHELL(submenu)); in AppendInputMethodsContextMenu()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_menu_controller_gtk.cc172 GtkWidget* submenu = gtk_menu_new(); in BuildMenu() local
173 BuildMenu(node, 0, submenu); in BuildMenu()
174 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu_item), submenu); in BuildMenu()
/external/clang/test/CodeGenObjC/
Dobjc2-no-write-barrier.m8 id submenu; field
/external/webkit/Source/WebKit2/UIProcess/win/
DWebContextMenuProxyWin.cpp63 populateMenu(subMenu, itemData.submenu()); in populateMenu()
/external/webkit/Source/WebKit2/UIProcess/qt/
DWebContextMenuProxyQt.cpp126 if (OwnPtr<QMenu> subMenu = createContextMenu(item.submenu())) { in createContextMenu()

123