Searched refs:menu (Results 51 - 75 of 193) sorted by relevance

12345678

/external/webkit/Source/WebKit/efl/ewk/
H A Dewk_contextmenu.h23 * @brief Describes the context menu API.
40 * @brief Provides the actions of items for the context menu.
79 EWK_CONTEXT_MENU_ITEM_TAG_SPELLING_MENU, /**< spelling or spelling/grammar sub-menu */
84 EWK_CONTEXT_MENU_ITEM_TAG_FONT_MENU, /**< font sub-menu */
92 EWK_CONTEXT_MENU_ITEM_TAG_SPEECH_MENU, /**< speech sub-menu */
95 EWK_CONTEXT_MENU_ITEM_TAG_WRITING_DIRECTION_MENU, /**< writing direction sub-menu */
102 EWK_CONTEXT_MENU_ITEM_TAG_TEXT_DIRECTION_MENU, /**< text direction sub-menu */
123 * @brief Defines the types of the items for the context menu.
145 EAPI void ewk_context_menu_ref(Ewk_Context_Menu* menu);
146 EAPI void ewk_context_menu_unref(Ewk_Context_Menu* menu);
[all...]
/external/webkit/Source/WebKit/win/WebCoreSupport/
H A DWebContextMenuClient.cpp58 OwnPtr<ContextMenu> menu = popMenu; local
62 return menu.release();
66 HMENU nativeMenu = menu->nativeMenu();
72 return menu.release();
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Dcontext_menu_button.js7 * context menu.
15 * button that has a context menu.
27 * Creates a new menu button which is used to show the context menu for an
43 get menu() {
/external/webkit/Source/WebCore/platform/qt/
H A DContextMenuItemQt.cpp107 void ContextMenuItem::setSubMenu(ContextMenu* menu) argument
109 m_platformDescription.subMenuItems = *menu->platformDescription();
/external/webkit/Source/WebCore/platform/mac/
H A DContextMenuItemMac.mm35 static NSMutableArray* menuToArray(NSMenu* menu)
38 int total = [menu numberOfItems];
40 [itemsArray addObject:[menu itemAtIndex:i]];
145 void ContextMenuItem::setSubMenu(ContextMenu* menu)
147 NSArray* subMenuArray = menu->platformDescription();
H A DPopupMenuMac.mm71 BOOL messagesEnabled = [[m_popup.get() menu] menuChangedMessagesEnabled];
72 [[m_popup.get() menu] setMenuChangedMessagesEnabled:NO];
88 [[m_popup.get() menu] addItem:[NSMenuItem separatorItem]];
135 [[m_popup.get() menu] setMenuChangedMessagesEnabled:messagesEnabled];
149 // Workaround for crazy bug where a selected index of -1 for a menu with only 1 item will cause a blank menu.
158 NSMenu* menu = [m_popup.get() menu];
163 // These values were borrowed from AppKit to match their placement of the menu.
193 page->chrome()->client()->willPopUpMenu(menu);
[all...]
/external/chromium/chrome/browser/ui/views/extensions/
H A Dbrowser_action_overflow_menu_controller.cc16 #include "views/controls/menu/menu_2.h"
17 #include "views/controls/menu/menu_item_view.h"
73 // Give the context menu (if any) a chance to execute the user-selected
105 // This blocks until the user choses something or dismisses the menu.
108 // The user is done with the context menu, so we can close the underlying
109 // menu.
116 views::MenuItemView* menu) {
121 views::MenuItemView* menu,
129 views::MenuItemView* menu) {
134 views::MenuItemView* menu, cons
115 DropMenuClosed( views::MenuItemView* menu) argument
120 GetDropFormats( views::MenuItemView* menu, int* formats, std::set<OSExchangeData::CustomFormat>* custom_formats) argument
128 AreDropTypesRequired( views::MenuItemView* menu) argument
133 CanDrop( views::MenuItemView* menu, const OSExchangeData& data) argument
161 OnPerformDrop( views::MenuItemView* menu, DropPosition position, const views::DropTargetEvent& event) argument
185 CanDrag(views::MenuItemView* menu) argument
[all...]
/external/chromium/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_menu_controller_gtk.cc47 const BookmarkNode* GetParentNodeFromEmptyMenu(GtkWidget* menu) { argument
49 g_object_get_data(G_OBJECT(menu), "parent-node"));
56 // The context menu has been dismissed, restore the X and application grabs
57 // to whichever menu last had them. (Assuming that menu is still showing.)
144 GtkWidget* menu) {
148 signals_.Connect(menu, "button-press-event",
150 signals_.Connect(menu, "button-release-event",
193 // source because we only want to stifle the menu's default handler and
200 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_ite
142 BuildMenu(const BookmarkNode* parent, int start_child_index, GtkWidget* menu) argument
330 OnMenuHidden(GtkWidget* menu) argument
[all...]
/external/chromium/chrome/browser/ui/views/status_icons/
H A Dstatus_icon_win.cc11 #include "views/controls/menu/menu_2.h"
96 void StatusIconWin::UpdatePlatformContextMenu(ui::MenuModel* menu) { argument
97 // If no items are passed, blow away our context menu.
98 if (!menu) {
103 // Create context menu with the new contents.
104 context_menu_.reset(new views::Menu2(menu));
114 // Event not sent to the observer, so display the context menu if one exists.
116 // Set our window as the foreground window, so the context menu closes when
H A Dstatus_icon_win.h38 // otherwise displays the context menu if there is one.
46 virtual void UpdatePlatformContextMenu(ui::MenuModel* menu);
63 // Context menu associated with this icon (if any).
/external/chromium/chrome/browser/status_icons/
H A Dstatus_icon.h37 // Set the context menu for this icon. The icon takes ownership of the passed
38 // context menu. Passing NULL results in no menu at all.
39 void SetContextMenu(ui::MenuModel* menu);
46 // in the context menu being displayed will not be passed to this observer
47 // (i.e. if there's a context menu set on this status icon, and the user
48 // right clicks on the icon to display the context menu, OnClicked will not
56 // context menu (if any).
68 // subclass update the native context menu based on the new model. If NULL is
69 // passed, subclass should destroy the native context menu
[all...]
H A Dstatus_icon_unittest.cc21 virtual void UpdatePlatformContextMenu(ui::MenuModel* menu) {} argument
H A Dstatus_tray_unittest.cc20 virtual void UpdatePlatformContextMenu(ui::MenuModel* menu) {} argument
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
H A Dbookmark_menu_cocoa_controller.h5 // Controller (MVC) for the bookmark menu.
6 // All bookmark menu item commands get directed here.
26 // The Bookmarks menu
27 @property(nonatomic, readonly) NSMenu* menu; variable
29 // Return an autoreleased string to be used as a menu title for the
35 // Called by any Bookmark menu item.
36 // The menu item's tag is the bookmark ID.
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_custom_menu.h42 GtkMenu menu; member in struct:_GtkCustomMenu
H A Dmenu_bar_helper.h29 // Called when a the menu for a button ought to be triggered.
39 // Must be called whenever a button's menu starts showing. It triggers the
41 void MenuStartedShowing(GtkWidget* button, GtkWidget* menu);
63 // The button that is currently showing a menu, or NULL.
66 // The highest level menu that is currently showing, or NULL.
74 // for the menu.
H A Dglobal_menu_bar.cc82 // TODO(erg): The View menu should be overhauled and based on the Firefox view
83 // menu.
136 // The global menu bar should never actually be shown in the app; it should
157 // Set the accelerator for each menu item.
193 GtkWidget* menu = gtk_menu_new(); local
216 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item);
219 gtk_widget_show(menu);
224 gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu_item), menu); local
/external/chromium/chrome/browser/ui/gtk/status_icons/
H A Dstatus_icon_gtk.h33 virtual void UpdatePlatformContextMenu(ui::MenuModel* menu);
42 // The context menu for this icon (if any).
/external/webkit/Source/WebKit2/Shared/
H A DWebContextMenuItemData.cpp67 WebContextMenuItemData::WebContextMenuItemData(const WebCore::ContextMenuItem& item, WebCore::ContextMenu* menu) argument
78 m_submenu = kitItems(coreSubmenu, menu);
138 Vector<WebContextMenuItemData> kitItems(const Vector<WebCore::ContextMenuItem>& coreItemVector, WebCore::ContextMenu* menu) argument
143 result.append(WebContextMenuItemData(coreItemVector[i], menu));
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
H A Dpeers.cpp175 QMenu *menu = new QMenu; local
176 if (menu == NULL)
183 menu->addAction(Peers::ItemType(type))->setEnabled(false);
184 menu->addSeparator();
202 menu->addAction(tr("Enter WPS PIN"), this,
207 menu->addAction(tr("P2P Connect"), this,
213 menu->addAction(tr("P2P Connect (PBC)"), this,
216 menu->addAction(tr("P2P Request PIN"), this,
218 menu->addAction(tr("P2P Show PIN"), this,
224 menu
[all...]
/external/chromium/chrome/browser/ui/cocoa/
H A Dhistory_menu_bridge.h36 // C++ bridge for the history menu; one per AppController (means there
41 // The history menu is broken up into sections: most visisted and recently
42 // closed. The overall menu has a tag of IDC_HISTORY_MENU, with the user content
44 // all share the same tag. The structure of the menu is laid out in MainMenu.xib
46 // closed section is special in that those menu items can have submenus to list
48 // have a tag that's equal to the parent + 1. Tags within the history menu have
52 // These menu items do not use firstResponder as their target. Rather, they are
61 // This is a generalization of the data we store in the history menu because
70 // The title for the menu item.
109 // These tags are not global view tags and are local to the history menu
[all...]
/external/webkit/Source/WebCore/platform/haiku/
H A DContextMenuItemHaiku.cpp137 void ContextMenuItem::setSubMenu(ContextMenu* menu) argument
142 m_platformDescription = new BMenuItem(menu->platformDescription(), new BMessage(action()));
/external/webkit/Source/WebKit2/UIProcess/API/qt/
H A Dqgraphicswkview.cpp334 This slot is called when the engine require a context sensitive menu to be displayed.
336 The \a menu passed as a parameter is the menu to be displayed. It is populated with the
337 actions possible for its current position. The menu is empty if there is no action for the position.
339 void QGraphicsWKView::showContextMenu(QSharedPointer<QMenu> menu) argument
341 // Remove the active menu in case this function is called twice.
345 if (menu->isEmpty())
348 d->activeMenu = menu;
363 menu->setParent(view, menu
[all...]
/external/webkit/Source/WebKit2/UIProcess/mac/
H A DWebPopupMenuProxyMac.mm66 [[m_popup.get() menu] addItem:[NSMenuItem separatorItem]];
108 NSMenu *menu = [m_popup.get() menu];
110 // These values were borrowed from AppKit to match their placement of the menu.
115 // Menus that pop-over directly obscure the node that generated the popup menu.
131 WKPopupMenu(menu, location, roundf(NSWidth(rect)), dummyView.get(), selectedIndex, font);
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_context_menu.h10 #include "views/controls/menu/menu_delegate.h"
37 // Shows the context menu at the specified point.
40 views::MenuItemView* menu() const { return menu_.get(); } function in class:BookmarkContextMenu
64 // The parent of dialog boxes opened from the context menu.
67 // The menu itself.
70 // The node we're showing the menu for.

Completed in 554 milliseconds

12345678