Home
last modified time | relevance | path

Searched refs:subMenu (Results 1 – 12 of 12) sorted by relevance

/external/webkit/WebCore/platform/wx/
DContextMenuItemWx.cpp34 ContextMenuItem::ContextMenuItem(ContextMenu* subMenu) in ContextMenuItem() argument
38 if (subMenu) in ContextMenuItem()
39 setSubMenu(subMenu); in ContextMenuItem()
41 m_platformDescription.subMenu = 0; in ContextMenuItem()
45 const String& title, ContextMenu* subMenu) in ContextMenuItem() argument
50 if (subMenu) in ContextMenuItem()
51 setSubMenu(subMenu); in ContextMenuItem()
53 m_platformDescription.subMenu = 0; in ContextMenuItem()
95 void ContextMenuItem::setSubMenu(ContextMenu* subMenu) in setSubMenu() argument
97 m_platformDescription.subMenu = subMenu->releasePlatformDescription(); in setSubMenu()
DContextMenuWx.cpp75 if (itemDescription.subMenu) { in appendItem()
76 …uItem(m_platformDescription, idWx, titleWx, wxEmptyString, wxITEM_NORMAL, itemDescription.subMenu); in appendItem()
/external/webkit/WebCore/platform/gtk/
DContextMenuItemGtk.cpp129 m_platformDescription.subMenu = GTK_MENU(gtk_menu_item_get_submenu(item)); in ContextMenuItem()
130 if (m_platformDescription.subMenu) in ContextMenuItem()
131 g_object_ref(m_platformDescription.subMenu); in ContextMenuItem()
139 …Item(ContextMenuItemType type, ContextMenuAction action, const String& title, ContextMenu* subMenu) in ContextMenuItem() argument
145 setSubMenu(subMenu); in ContextMenuItem()
150 if (m_platformDescription.subMenu) in ~ContextMenuItem()
151 g_object_unref(m_platformDescription.subMenu); in ~ContextMenuItem()
178 if (menu.subMenu) in createNativeMenuItem()
179 gtk_menu_item_set_submenu(item, GTK_WIDGET(menu.subMenu)); in createNativeMenuItem()
224 return m_platformDescription.subMenu; in platformSubMenu()
[all …]
/external/webkit/WebCore/platform/win/
DContextMenuItemWin.cpp41 ContextMenuItem::ContextMenuItem(ContextMenu* subMenu) in ContextMenuItem() argument
51 if (subMenu) { in ContextMenuItem()
53 m_platformDescription->hSubMenu = subMenu->platformDescription(); in ContextMenuItem()
57 …Item(ContextMenuItemType type, ContextMenuAction action, const String& title, ContextMenu* subMenu) in ContextMenuItem() argument
72 if (subMenu) { in ContextMenuItem()
74 m_platformDescription->hSubMenu = subMenu->platformDescription(); in ContextMenuItem()
151 void ContextMenuItem::setSubMenu(ContextMenu* subMenu) in setSubMenu() argument
153 if (subMenu->platformDescription() == m_platformDescription->hSubMenu) in setSubMenu()
160 m_platformDescription->hSubMenu = subMenu->releasePlatformDescription(); in setSubMenu()
/external/webkit/WebCore/platform/mac/
DContextMenuItemMac.mm50 ContextMenuItem::ContextMenuItem(ContextMenu* subMenu)
57 if (subMenu)
58 setSubMenu(subMenu);
61 …Item(ContextMenuItemType type, ContextMenuAction action, const String& title, ContextMenu* subMenu)
73 if (subMenu)
74 setSubMenu(subMenu);
131 NSMenu* subMenu = [[NSMenu alloc] init];
132 [subMenu setAutoenablesItems:NO];
134 [subMenu insertItem:[subMenuArray objectAtIndex:i] atIndex:i];
135 [m_platformDescription.get() setSubmenu:subMenu];
[all …]
/external/webkit/WebCore/platform/qt/
DContextMenuItemQt.cpp33 ContextMenuItem::ContextMenuItem(ContextMenu* subMenu) in ContextMenuItem() argument
37 if (subMenu) in ContextMenuItem()
38 setSubMenu(subMenu); in ContextMenuItem()
42 const String& title, ContextMenu* subMenu) in ContextMenuItem() argument
47 if (subMenu) in ContextMenuItem()
48 setSubMenu(subMenu); in ContextMenuItem()
/external/webkit/WebCore/platform/haiku/
DContextMenuItemHaiku.cpp46 ContextMenuItem::ContextMenuItem(ContextMenu* subMenu) in ContextMenuItem() argument
48 m_platformDescription = new BMenuItem(subMenu->platformDescription(), in ContextMenuItem()
53 const String& title, ContextMenu* subMenu) in ContextMenuItem() argument
60 m_platformDescription = new BMenuItem(subMenu->platformDescription(), new BMessage(action)); in ContextMenuItem()
90 BMenu* subMenu = platformSubMenu(); in setType() local
98 if (subMenu) { in setType()
99 m_platformDescription = new BMenuItem(subMenu, new BMessage(theAction)); in setType()
/external/webkit/WebCore/platform/
DContextMenuItem.h182 , subMenu(0) in PlatformMenuItemDescription()
190 GtkMenu* subMenu; member
208 wxMenu * subMenu; member
234 ContextMenuItem(ContextMenu* subMenu = 0);
235 …ContextMenuItemType type, ContextMenuAction action, const String& title, ContextMenu* subMenu = 0);
/external/webkit/WebCore/platform/chromium/
DContextMenuItemChromium.cpp43 ContextMenuItem::ContextMenuItem(ContextMenu* subMenu) in ContextMenuItem() argument
47 …Item(ContextMenuItemType type, ContextMenuAction action, const String& title, ContextMenu* subMenu) in ContextMenuItem() argument
108 void ContextMenuItem::setSubMenu(ContextMenu* subMenu) in setSubMenu() argument
/external/webkit/WebKit/qt/Api/
Dqwebpage.cpp536 … QMenu *subMenu = createContextMenu(webcoreMenu, item.platformSubMenu(), visitedWebActions); in createContextMenu() local
540 QList<QAction *> actions = subMenu->actions(); in createContextMenu()
548 subMenu->setTitle(item.title()); in createContextMenu()
549 menu->addAction(subMenu->menuAction()); in createContextMenu()
551 delete subMenu; in createContextMenu()
/external/webkit/WebKit/qt/
DChangeLog14519 ContextMenu subMenu(...);
14520 subMenu.appendItem(...);
14521 subMenu.appendItem(...);
14523 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
/external/webkit/WebCore/
DChangeLog-2008-08-1074710 ContextMenu subMenu(...);
74711 subMenu.appendItem(...);
74712 subMenu.appendItem(...);
74714 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents