Searched defs:menu (Results 26 - 50 of 91) sorted by relevance

1234

/external/webkit/Source/WebKit/wince/WebCoreSupport/
H A DContextMenuClientWinCE.cpp45 PassOwnPtr<ContextMenu> ContextMenuClientWinCE::customizeMenu(PassOwnPtr<ContextMenu> menu) argument
47 return menu;
/external/webkit/Source/WebKit/wx/WebKitSupport/
H A DContextMenuClientWx.cpp45 PlatformMenuDescription ContextMenuClientWx::getCustomMenuFromDefaultItems(ContextMenu* menu) argument
47 return menu->releasePlatformDescription();
/external/webkit/Source/WebKit2/UIProcess/qt/
H A DWebContextMenuProxyQt.cpp88 OwnPtr<QMenu> menu = createContextMenu(items);
92 if (!menu)
93 menu = adoptPtr(new QMenu);
95 menu->move(position);
96 emit m_page->showContextMenu(QSharedPointer<QMenu>(menu.leakPtr()));
105 OwnPtr<QMenu> menu = adoptPtr(new QMenu); local
118 menu->addAction(qtAction);
123 menu->addSeparator();
127 subMenu->setParent(menu.get());
130 menu
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_custom_menu.cc63 // clickable region. If it's in a button that doesn't dismiss the menu, fire
86 // Manually forward button press events to the menu item (and then do what we'd
125 // In the case of hitting PREV and transitioning to a custom menu, we want to
134 static void gtk_custom_menu_init(GtkCustomMenu* menu) { argument
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
H A Dmenu_bar_helper.cc15 // Recursively find all the GtkMenus that are attached to menu item |child|
27 // Is the cursor over |menu| or one of its parent menus?
28 bool MotionIsOverMenu(GtkWidget* menu, GdkEventMotion* motion) { argument
30 motion->x < menu->allocation.width &&
31 motion->y < menu->allocation.height) {
35 while (menu) {
36 GtkWidget* menu_item = gtk_menu_get_attach_widget(GTK_MENU(menu));
43 menu = parent;
79 void MenuBarHelper::MenuStartedShowing(GtkWidget* button, GtkWidget* menu) { argument
80 DCHECK(GTK_IS_MENU(menu));
101 OnMenuMotionNotify(GtkWidget* menu, GdkEventMotion* motion) argument
145 OnMenuHiddenOrDestroyed(GtkWidget* menu) argument
154 OnMenuMoveCurrent(GtkWidget* menu, GtkMenuDirectionType dir) 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
/external/webkit/Source/WebCore/platform/gtk/
H A DContextMenuItemGtk.cpp31 #define WEBKIT_CONTEXT_MENU_ACTION "webkit-context-menu"
120 // Extract the ActionType from the menu item
138 GOwnPtr<char> actionName(g_strdup_printf("context-menu-action-%d", action));
224 void ContextMenuItem::setSubMenu(ContextMenu* menu) argument
226 gtk_menu_item_set_submenu(m_platformDescription, GTK_WIDGET(menu->platformDescription()));
/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/WebCore/platform/qt/
H A DContextMenuItemQt.cpp107 void ContextMenuItem::setSubMenu(ContextMenu* menu) argument
109 m_platformDescription.subMenuItems = *menu->platformDescription();
/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/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/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_menu_controller_views.h16 #include "views/controls/menu/menu_delegate.h"
17 #include "views/controls/menu/menu_item_view.h"
37 // BookmarkMenuController is responsible for showing a menu of bookmarks,
38 // each item in the menu represents a bookmark.
39 // BookmarkMenuController deletes itself as necessary, although the menu can
45 // The observer is notified prior to the menu being deleted.
65 // Shows the menu.
70 // Hides the menu.
73 // Returns the node the menu is showing for.
76 // Returns the menu
77 views::MenuItemView* menu() const { return menu_; } function in class:BookmarkMenuController
[all...]
/external/skia/samplecode/
H A DSampleCode.h117 * Call this to request menu items from a SampleView.
119 * to add new items of various types to the menu and change its title.
120 * The events attached to any new menu items must be handled in its onEvent
123 virtual void requestMenu(SkOSMenu* menu) {} argument
/external/webkit/Source/WebKit/efl/ewk/
H A Dewk_contextmenu.cpp36 * @brief Contains the context menu data.
41 WebCore::ContextMenuController* controller; /**< the WebCore's object which is responsible for the context menu */
50 * @brief Represents one item of the context menu object.
66 * @param menu the context menu object to increase the reference count
68 void ewk_context_menu_ref(Ewk_Context_Menu* menu) argument
70 EINA_SAFETY_ON_NULL_RETURN(menu);
71 menu->__ref++;
77 * When the reference count it's reached 0, the menu with all items are freed.
79 * @param menu th
81 ewk_context_menu_unref(Ewk_Context_Menu* menu) argument
103 ewk_context_menu_destroy(Ewk_Context_Menu* menu) argument
166 ewk_context_menu_item_select(Ewk_Context_Menu* menu, Ewk_Context_Menu_Item* item) argument
349 Ewk_Context_Menu* menu; local
[all...]
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DContextMenuClientGtk.cpp56 g_object_get(settings, "gtk-show-input-method-menu", &showMenu, NULL);
93 // GtkUnicodeMenuEntry* entry = (GtkUnicodeMenuEntry*)g_object_get_data(G_OBJECT(widget), "gtk-unicode-menu-entry");
104 g_object_get(settings, "gtk-show-unicode-menu", &showMenu, NULL);
116 g_object_set_data(G_OBJECT(menuitem), "gtk-unicode-menu-entry", (gpointer)&bidi_menu_entries[i]);
129 PlatformMenuDescription ContextMenuClient::getCustomMenuFromDefaultItems(ContextMenu* menu) argument
131 GtkMenu* gtkmenu = menu->releasePlatformDescription();
/external/webkit/Tools/MiniBrowser/win/
H A DBrowserWindow.cpp216 HMENU menu = ::GetMenu(m_window); local
217 bool shouldHide = ::GetMenuState(menu, ID_DEBUG_SHOW_WEB_VIEW, MF_BYCOMMAND) & MF_CHECKED;
219 ::CheckMenuItem(menu, ID_DEBUG_SHOW_WEB_VIEW, MF_BYCOMMAND | (shouldHide ? MF_UNCHECKED : MF_CHECKED));
/external/checkpolicy/test/
H A Ddispol.c372 int menu() function
390 printf("m) display menu\n");
449 menu();
451 printf("\nCommand (\'m\' for menu): ");
537 menu();
541 menu();
/external/chromium/chrome/browser/extensions/
H A Dextension_context_menu_browsertest.cc25 // real context menu, while still running through the actual code in
48 // Looks in the menu for an extension item with |id|, and if it is found and
65 // Searches for an menu item with |command_id|. If it's found, the return
102 // Given an extension menu item id, tries to find the corresponding command id
103 // in the menu.
142 TestRenderViewContextMenu* menu = local
144 menu->Init();
145 return menu;
180 // This creates a test menu for a page with |page_url| and |link_url|, looks
187 scoped_ptr<TestRenderViewContextMenu> menu(
279 ExpectLabelAndType(const char* expected_label, MenuModel::ItemType expected_type, const MenuModel& menu, int index) argument
289 VerifyMenuForSeparatorsTest(const MenuModel& menu) argument
[all...]
/external/chromium/chrome/browser/renderer_host/
H A Dgtk_im_context_wrapper.cc313 // Not defined for views because the views context menu doesn't
315 void GtkIMContextWrapper::AppendInputMethodsContextMenu(MenuGtk* menu) { argument
319 "gtk-show-input-method-menu", &show_input_method_menu, NULL);
330 menu->AppendSeparator();
331 menu->AppendMenuItem(IDC_INPUT_METHODS_MENU, menuitem);
/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/
H A Daccessibility_event_router_views.cc25 #include "views/controls/menu/menu_item_view.h"
26 #include "views/controls/menu/submenu_view.h"
214 views::View* menu, views::View* item, int* index, int* count) {
215 for (int i = 0; i < menu->child_count(); ++i) {
216 views::View* child = menu->GetChildViewAt(i);
213 RecursiveGetMenuItemIndexAndCount( views::View* menu, views::View* item, int* index, int* count) argument
/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/views/frame/
H A Dbrowser_frame_win.cc112 void BrowserFrameWin::OnInitMenuPopup(HMENU menu, UINT position, argument
114 browser_view_->PrepareToRunSystemMenu(menu);
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macevents.c53 #define mApple 128 /* Apple menu resource */
54 #define iAbout 1 /* About menu item */
56 /* Functions to handle the About menu */
267 case inMenuBar: /* Only the apple menu exists */
676 /* Create apple menu bar */
704 #if !TARGET_API_MAC_CARBON /* No Apple menu in OS X */
705 short menu, item; local
709 menu = (choice&0xFFFF);
711 switch (menu) {

Completed in 2240 milliseconds

1234