/external/webkit/Source/WebKit/wince/WebCoreSupport/ |
H A D | ContextMenuClientWinCE.cpp | 45 PassOwnPtr<ContextMenu> ContextMenuClientWinCE::customizeMenu(PassOwnPtr<ContextMenu> menu) argument 47 return menu;
|
/external/webkit/Source/WebKit/wx/WebKitSupport/ |
H A D | ContextMenuClientWx.cpp | 45 PlatformMenuDescription ContextMenuClientWx::getCustomMenuFromDefaultItems(ContextMenu* menu) argument 47 return menu->releasePlatformDescription();
|
/external/webkit/Tools/TestResultServer/handlers/ |
H A D | menu.py | 33 menu = [ variable 59 "menu": menu, 63 template.render("templates/menu.html", template_values))
|
/external/webkit/Tools/TestResultServer/ |
H A D | main.py | 37 from handlers import menu namespace 48 ('/*|/menu', menu.Menu),
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
H A D | WebContextMenuClient.cpp | 47 PassOwnPtr<ContextMenu> WebContextMenuClient::customizeMenu(PassOwnPtr<ContextMenu> menu) argument 49 // WebKit2 ignores this client callback and does context menu customization when it is told to show the menu. 50 return menu; 53 PlatformMenuDescription WebContextMenuClient::getCustomMenuFromDefaultItems(ContextMenu* menu) argument 55 // WebKit2 ignores this client callback and does context menu customization when it is told to show the menu. 56 return menu->platformDescription();
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_menu_controller_views.cc | 30 // Max width of a menu. There does not appear to be an OS value for this, yet 31 // both IE and FF restrict the max width of a menu. 76 // The constructor creates the initial menu and that is all we should have 122 MenuItemView* menu, 130 bool BookmarkMenuController::AreDropTypesRequired(MenuItemView* menu) { argument 134 bool BookmarkMenuController::CanDrop(MenuItemView* menu, argument 153 // the dragged node is not a parent of the node menu represents. 154 const BookmarkNode* drop_node = menu_id_to_node_map_[menu->GetCommand()]; 182 int BookmarkMenuController::OnPerformDrop(MenuItemView* menu, argument 185 const BookmarkNode* drop_node = menu_id_to_node_map_[menu 121 GetDropFormats( MenuItemView* menu, int* formats, std::set<ui::OSExchangeData::CustomFormat>* custom_formats) argument 227 DropMenuClosed(MenuItemView* menu) argument 231 CanDrag(MenuItemView* menu) argument 251 GetSiblingMenu( views::MenuItemView* menu, const gfx::Point& screen_point, views::MenuItemView::AnchorPosition* anchor, bool* has_mnemonics, views::MenuButton** button) argument 320 MenuItemView* menu = new MenuItemView(this); local 329 BuildMenu(const BookmarkNode* parent, int start_child_index, MenuItemView* menu, int* next_menu_id) argument 372 MenuItemView* menu = i->second->GetMenuItemByID(id); local 392 MenuItemView* menu = GetMenuByID(node_to_menu->second); local [all...] |
H A D | bookmark_menu_controller_views.h | 16 #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/webkit/Source/WebKit2/WebProcess/WebPage/ |
H A D | WebContextMenu.cpp | 55 ContextMenu* menu = controller->contextMenu(); 56 if (!menu) 68 // Give the bundle client a chance to process the menu. 70 const Vector<ContextMenuItem>& coreItems = menu->items(); 72 Vector<ContextMenuItem> coreItems = contextMenuItemVector(menu->platformDescription()); 74 Vector<WebContextMenuItemData> proposedMenu = kitItems(coreItems, menu); 85 // Mark the WebPage has having a shown context menu then notify the UIProcess.
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
H A D | WebContextMenuProxyMac.mm | 124 static void populateNSMenu(NSMenu* menu, const Vector<RetainPtr<NSMenuItem> >& menuItemVector) 128 [menu addItem:menuItemVector[i].get()]; 161 NSMenu* menu = [[NSMenu alloc] initWithTitle:nsStringFromWebCoreString(items[i].title())]; 162 [menu setAutoenablesItems:NO]; 163 populateNSMenu(menu, nsMenuItemVector(items[i].submenu())); 167 [menuItem setSubmenu:menu]; 168 [menu release]; 196 NSMenu* menu = [m_popup.get() menu]; 197 populateNSMenu(menu, nsMenuItemVecto [all...] |
/external/chromium/chrome/browser/resources/ |
H A D | wrench_menu.js | 6 * ButtonCommand class for small buttons on menu items. 20 * Changes the selection state of the menu item. 33 * Activate the menu item. 50 * Initialize the menu item. 53 init: function(menu, attrs, model) { 54 this.menu_ = menu; 59 menu.addHandlers(this, this); 60 if (attrs.command_id == menu.config_.IDC_COPY) { 61 menu.addLabelTo(this, menu [all...] |
H A D | menu.js | 20 * @param {number} index The index of menu item to activate in menu model. 39 * Decorates the menu item element. 42 this.className = 'menu-item'; 47 * @param {Menu} menu A {@code Menu} object to which this menu item 49 * @param {Object} attrs JSON object that represents this menu items 50 * properties. This is created from menu model in C code. See 54 init: function(menu, attrs, model) { 57 this.menu_ = menu; [all...] |
/external/chromium/chrome/browser/ui/views/extensions/ |
H A D | browser_action_overflow_menu_controller.h | 14 #include "views/controls/menu/menu_delegate.h" 24 // This class handles the overflow menu for browser actions (showing the menu, 28 // The observer is notified prior to the menu being deleted. 43 // Shows the overflow menu. 46 // Closes the overflow menu (and its context menu if open as well). 55 virtual void DropMenuClosed(views::MenuItemView* menu); 57 // menu. 59 views::MenuItemView* menu, [all...] |
/external/chromium/chrome/browser/ |
H A D | background_mode_manager.cc | 275 // Create a context menu item for Chrome. 276 ui::SimpleMenuModel* menu = new ui::SimpleMenuModel(this); 278 menu->AddItem(IDC_ABOUT, l10n_util::GetStringFUTF16(IDS_ABOUT, 280 menu->AddItem(IDC_OPTIONS, GetPreferencesMenuLabel()); 281 menu->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); 282 menu->AddSeparator(); 284 context_menu_application_offset_ = menu->GetItemCount(); 291 menu->AddItem(position, UTF8ToUTF16(name)); 293 menu->SetIcon(menu [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
H A D | menu_controller.h | 18 // A controller for the cross-platform menu model. The menu that's created 19 // has the tag and represented object set for each menu item. The object is a 20 // NSValue holding a pointer to the model for that level of the menu (to 33 // |-initWithModel:useWithPopUpButtonCell:| or after the first call to |-menu|. 36 // NIB-based initializer. This does not create a menu. Clients can set the 37 // properties of the object and the menu will be created upon the first call to 38 // |-menu|. Note that the menu will be immutable after creation. 43 // the menu wil [all...] |
/external/webkit/Source/WebCore/platform/brew/ |
H A D | ContextMenuBrew.cpp | 41 ContextMenu::ContextMenu(const PlatformMenuDescription menu) argument 85 void ContextMenu::setPlatformDescription(PlatformMenuDescription menu) argument
|
/external/webkit/Source/WebCore/platform/chromium/ |
H A D | ContextMenuChromium.cpp | 43 ContextMenu::ContextMenu(const PlatformMenuDescription menu) argument 80 void ContextMenu::setPlatformDescription(PlatformMenuDescription menu) argument
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
H A D | bookmark_menu_bridge.h | 5 // C++ controller for the bookmark menu; one per AppController (which 12 // Most Chromium Cocoa menu items are static from a nib (e.g. New 14 // (e.g. Cut and Paste). In addition, most Cocoa menu items have 15 // firstResponder: as a target. Unusually, bookmark menu items are 63 // Rebuilds the bookmark menu, if it has been marked invalid. 71 // Clear all bookmarks from the given bookmark menu. 72 void ClearBookmarkMenu(NSMenu* menu); 74 // Mark the bookmark menu as being invalid. 77 // Helper for adding the node as a submenu to the menu with the 79 void AddNodeAsSubmenu(NSMenu* menu, [all...] |
/external/webkit/Source/WebKit2/UIProcess/win/ |
H A D | WebContextMenuProxyWin.cpp | 42 void WebContextMenuProxyWin::populateMenu(HMENU menu, const Vector<WebContextMenuItemData>& items) argument 53 ::AppendMenu(menu, flags, itemData.action(), title.charactersWithNullTermination()); 59 ::AppendMenu(menu, MF_SEPARATOR, 0, 0); 65 ::AppendMenu(menu, MF_POPUP, reinterpret_cast<UINT>(subMenu), title.charactersWithNullTermination()); 79 // Hide any context menu we have showing (this also destroys the menu).
|
/external/chromium/chrome/browser/ui/views/status_icons/ |
H A D | status_tray_win_unittest.cc | 28 // Create an icon, set the images, tooltip, and context menu, then shut it 37 ui::SimpleMenuModel* menu = new ui::SimpleMenuModel(NULL); local 38 menu->AddItem(0, L"foo"); 39 icon->SetContextMenu(menu);
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
H A D | render_view_context_menu_views.cc | 14 #include "views/controls/menu/menu_2.h" 53 HMENU menu = GetMenuHandle(); local 54 DCHECK(menu != NULL); 60 SetMenuInfo(menu, &mi);
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | menu_gtk.h | 27 // Delegate class that lets another class control the status of the menu. 36 // the menu and/or the delegate. 39 // Called when the menu stops showing. This will be called before 41 // the user clicks away from the menu. 44 // Return true if we should override the "gtk-menu-images" system setting 45 // when showing image menu items for this menu. 48 // Returns a tinted image used in button in a menu. 51 // Returns an icon for the menu item, if available. 63 // These methods are used to build the menu dynamicall [all...] |
/external/webkit/Tools/QtTestBrowser/ |
H A D | webview.cpp | 235 QMenu* menu = page->createStandardContextMenu(); local 241 QAction* newTabAction = menu->addAction("Open in Default &Browser", webPage, SLOT(openUrlInDefaultBrowser())); 243 menu->insertAction(menu->actions().at(2), newTabAction); 245 return menu; 266 QMenu* menu = createContextMenu(page(), event->pos().toPoint()); local 267 menu->exec(event->screenPos()); 268 delete menu; 273 QMenu* menu = createContextMenu(page(), event->pos()); local 274 menu [all...] |
/external/chromium/chrome/browser/translate/ |
H A D | translate_manager_browsertest.cc | 382 // Translate the page anyway throught the context menu. 383 scoped_ptr<TestRenderViewContextMenu> menu( 385 menu->Init(); 386 menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE); 412 menu.reset(TestRenderViewContextMenu::CreateContextMenu(contents())); 413 menu->Init(); 414 menu->ExecuteCommand(IDC_CONTENT_CONTEXT_TRANSLATE); 425 menu.reset(TestRenderViewContextMenu::CreateContextMenu(contents())); 426 menu->Init(); 427 menu [all...] |
/external/webkit/Source/WebCore/platform/wx/ |
H A D | ContextMenuWx.cpp | 31 #include "wx/menu.h" 90 void ContextMenu::setPlatformDescription(PlatformMenuDescription menu) argument 92 if (!menu) 98 m_platformDescription = menu;
|
/external/chromium/chrome/browser/ui/cocoa/status_icons/ |
H A D | status_icon_mac.h | 32 virtual void UpdatePlatformContextMenu(ui::MenuModel* menu);
|