HomeSort by relevance Sort by last modified time
    Searched refs:contextMenu (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/page/
CustomContextMenuProvider.cpp 16 #include "platform/ContextMenu.h"
32 void CustomContextMenuProvider::populateContextMenu(ContextMenu* menu)
52 void CustomContextMenuProvider::appendSeparator(ContextMenu& contextMenu)
55 if (!contextMenu.items().size())
60 ContextMenuItem lastItem = contextMenu.items().last();
64 contextMenu.appendItem(ContextMenuItem(SeparatorType, ContextMenuItemCustomTagNoAction, String()));
67 void CustomContextMenuProvider::appendMenuItem(HTMLMenuItemElement* menuItem, ContextMenu& contextMenu)
75 contextMenu.appendItem(ContextMenuItem(ActionType, static_cast<ContextMenuAction>(ContextMenuItemBaseCustomTag (…)
    [all...]
ContextMenuController.h 37 class ContextMenu;
53 ContextMenu* contextMenu() const { return m_contextMenu.get(); }
69 PassOwnPtr<ContextMenu> createContextMenu(Event*);
70 PassOwnPtr<ContextMenu> createContextMenu(LocalFrame*, const LayoutPoint&);
75 OwnPtr<ContextMenu> m_contextMenu;
ContextMenuController.cpp 41 #include "platform/ContextMenu.h"
97 RefPtrWillBeRawPtr<HTMLMenuElement> menuElement = element.contextMenu();
103 if (menuElement != element.contextMenu())
147 PassOwnPtr<ContextMenu> ContextMenuController::createContextMenu(Event* event)
158 PassOwnPtr<ContextMenu> ContextMenuController::createContextMenu(LocalFrame* frame, const LayoutPoint& location)
170 return adoptPtr(new ContextMenu);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
SourcesNavigator.js 154 var contextMenu = new WebInspector.ContextMenu(event);
155 contextMenu.appendItem(WebInspector.UIString("New"), this._handleCreateSnippet.bind(this));
156 contextMenu.show();
165 var contextMenu = new WebInspector.ContextMenu(event);
166 contextMenu.appendItem(WebInspector.UIString("Run"), this._handleEvaluateSnippet.bind(this, uiSourceCode));
167 contextMenu.appendItem(WebInspector.UIString("Rename"), this.rename.bind(this, uiSourceCode));
168 contextMenu.appendItem(WebInspector.UIString("Remove"), this._handleRemoveSnippet.bind(this, uiSourceCode));
169 contextMenu.appendSeparator()
    [all...]
CallStackSidebarPane.js 78 asyncPlacard.element.addEventListener("contextmenu", this._asyncPlacardContextMenu.bind(this, this.placards.length), true);
113 placard.element.addEventListener("contextmenu", this._placardContextMenu.bind(this, placard), true);
152 var contextMenu = new WebInspector.ContextMenu(event);
155 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Restart frame" : "Restart Frame"), this._restartFrame.bind(this, placard));
157 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Copy stack trace" : "Copy Stack Trace"), this._copyStackTrace.bind(this));
161 contextMenu.appendSeparator();
162 this.appendBlackboxURLContextMenuItems(contextMenu, script.sourceURL, script.isContentScript());
165 contextMenu.show();
184 * @param {!WebInspector.ContextMenu} contextMen
    [all...]
WatchExpressionsSidebarPane.js 129 this.emptyElement.addEventListener("contextmenu", this._emptyElementContextMenu.bind(this), false);
348 var contextMenu = new WebInspector.ContextMenu(event);
349 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Add watch expression" : "Add Watch Expression"), this.addNewExpressionAndEdit.bind(this));
350 contextMenu.show();
422 this.listItemElement.addEventListener("contextmenu", this._contextMenu.bind(this), false);
427 * @param {!WebInspector.ContextMenu} contextMenu
430 populateContextMenu: function(contextMenu)
433 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Add watch expression" : (…)
    [all...]
BreakpointsSidebarPane.js 54 this.emptyElement.addEventListener("contextmenu", this._emptyElementContextMenu.bind(this), true);
60 var contextMenu = new WebInspector.ContextMenu(event);
61 this._appendBreakpointActiveItem(contextMenu);
62 contextMenu.show();
66 * @param {!WebInspector.ContextMenu} contextMenu
68 _appendBreakpointActiveItem: function(contextMenu)
74 contextMenu.appendItem(breakpointActiveTitle, this._breakpointManager.setBreakpointsActive.bind(this._breakpointManager, !breakpointActive));
96 element.addEventListener("contextmenu", this._breakpointContextMenu.bind(this, breakpoint), true)
    [all...]
NavigatorView.js 53 this.element.addEventListener("contextmenu", this.handleContextMenu.bind(this), false);
303 var contextMenu = new WebInspector.ContextMenu(event);
304 this._appendAddFolderItem(contextMenu);
305 contextMenu.show();
309 * @param {!WebInspector.ContextMenu} contextMenu
311 _appendAddFolderItem: function(contextMenu)
319 contextMenu.appendItem(addFolderLabel, addFolder);
379 var contextMenu = new WebInspector.ContextMenu(event)
    [all...]
JavaScriptSourceFrame.js 247 populateLineGutterContextMenu: function(contextMenu, lineNumber)
249 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Continue to here" : "Continue to Here"), this._continueToLine.bind(this, lineNumber));
253 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Add breakpoint" : "Add Breakpoint"), this._setBreakpoint.bind(this, lineNumber, 0, "", true));
254 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Add conditional breakpoint?" : "Add Conditional Breakpoint?"), this._editBreakpointCondition.bind(this, lineNumber));
257 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove breakpoint" : "Remove Breakpoint"), breakpoint.remove.bind(breakpoint));
258 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Edit breakpoint?" : "Edit Breakpoint?"), this._editBreakpointCondition.bind(this, lineNumber, breakpoint));
260 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Disable breakpoint" : "Disable Breakpoint"), breakpoint.setEnabled.bind(breakpoint, false));
262 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Enable breakpoint" : "Enable Breakpoint"), breakpoint.setEnabled.bind(breakpoint, true));
266 populateTextAreaContextMenu: function(contextMenu, lineNumber)
272 contextMenu.appendItem(addToWatchLabel, this._innerAddToWatch.bind(this, selection))
    [all...]
UISourceCodeFrame.js 171 populateTextAreaContextMenu: function(contextMenu, lineNumber)
173 WebInspector.SourceFrame.prototype.populateTextAreaContextMenu.call(this, contextMenu, lineNumber);
174 contextMenu.appendApplicableItems(this._uiSourceCode);
175 contextMenu.appendSeparator();
SourcesPanel.js 30 * @implements {WebInspector.ContextMenu.Provider}
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LinearLayoutRuleTest.java 131 List<RuleAction> contextMenu = new ArrayList<RuleAction>();
132 rule.addContextMenuActions(contextMenu, node);
133 assertEquals(6, contextMenu.size());
134 assertEquals("Edit ID...", contextMenu.get(0).getTitle());
135 assertTrue(contextMenu.get(1) instanceof RuleAction.Separator);
136 assertEquals("Layout Width", contextMenu.get(2).getTitle());
137 assertEquals("Layout Height", contextMenu.get(3).getTitle());
138 assertTrue(contextMenu.get(4) instanceof RuleAction.Separator);
139 assertEquals("Other Properties", contextMenu.get(5).getTitle());
141 RuleAction propertiesMenu = contextMenu.get(5)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
HandlerRegistry.js 102 * @param {!WebInspector.ContextMenu} contextMenu
105 _appendContentProviderItems: function(contextMenu, target)
113 contextMenu.appendItem(WebInspector.openLinkExternallyLabel(), this._openInNewTab.bind(this, contentProvider.contentURL()));
117 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Open using %s" : "Open Using %s", handler),
120 contextMenu.appendItem(WebInspector.copyLinkAddressLabel(), InspectorFrontendHost.copyText.bind(InspectorFrontendHost, contentProvider.contentURL()));
155 contextMenu.appendSeparator();
156 contextMenu.appendItem(WebInspector.UIString("Save"), save.bind(null, false));
161 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Save as..." : "Save As..."), save.bind(null, true));
166 * @param {!WebInspector.ContextMenu} contextMen
    [all...]
DOMBreakpointsSidebarPane.js 71 * @param {!WebInspector.ContextMenu} contextMenu
73 populateNodeContextMenu: function(node, contextMenu)
98 var breakPointSubMenu = contextMenu.appendSubMenuItem(WebInspector.UIString("Break on..."));
211 element.addEventListener("contextmenu", this._contextMenu.bind(this, node, type), true);
269 var contextMenu = new WebInspector.ContextMenu(event);
279 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove breakpoint" : "Remove Breakpoint"), removeBreakpoint.bind(this));
280 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove all DOM breakpoints" : "Remove All DOM Breakpoints"), this._removeAllBreakpoints.bind(this));
281 contextMenu.show()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
ImageView.js 61 imagePreviewElement.addEventListener("contextmenu", this._contextMenu.bind(this), true);
114 var contextMenu = new WebInspector.ContextMenu(event);
115 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Copy image URL" : "Copy Image URL"), this._copyImageURL.bind(this));
117 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Copy image as Data URL" : "Copy Image As Data URL"), this._copyImageAsDataURL.bind(this));
118 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Open image in new tab" : "Open Image in New Tab"), this._openInNewTab.bind(this));
119 contextMenu.show();
ResourceView.js 101 populateTextAreaContextMenu: function(contextMenu, lineNumber)
103 contextMenu.appendApplicableItems(this._resource);
  /external/chromium_org/ui/app_list/cocoa/
apps_grid_view_item.h 46 - (NSMenu*)contextMenu;
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLElement.idl 41 [RuntimeEnabled=ContextMenu] attribute HTMLMenuElement? contextMenu;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/layers/
LayerTreeOutline.js 42 this._treeOutline.childrenListElement.addEventListener("contextmenu", this._onContextMenu.bind(this), true);
164 var contextMenu = new WebInspector.ContextMenu(event);
165 contextMenu.appendApplicableItems(domNode);
166 contextMenu.show();
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
CookieItemsView.js 57 this.element.addEventListener("contextmenu", this._contextMenu.bind(this), true);
180 var contextMenu = new WebInspector.ContextMenu(event);
181 contextMenu.appendItem(WebInspector.UIString("Refresh"), this._update.bind(this));
182 contextMenu.show();
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
TextEditor.js 344 * @param {!WebInspector.ContextMenu} contextMenu
347 populateLineGutterContextMenu: function(contextMenu, lineNumber) { },
350 * @param {!WebInspector.ContextMenu} contextMenu
353 populateTextAreaContextMenu: function(contextMenu, lineNumber) { },
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
ProfilesPanel.js 491 this.element.addEventListener("contextmenu", this._handleContextMenuEvent.bind(this), true);
680 profileTypeSection.childrenListElement.addEventListener("contextmenu", this._handleContextMenuEvent.bind(this), true);
734 var contextMenu = new WebInspector.ContextMenu(event);
736 this.visibleView.populateContextMenu(contextMenu, event);
739 contextMenu.appendItem(WebInspector.UIString("Load\u2026"), this._fileSelectorElement.click.bind(this._fileSelectorElement));
741 contextMenu.show();
940 * @param {!WebInspector.ContextMenu} contextMenu
943 appendApplicableItems: function(event, contextMenu, target
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
ElementsTreeOutline.js 55 this.element.addEventListener("contextmenu", this._contextMenuEventFired.bind(this), false);
775 var contextMenu = new WebInspector.ContextMenu(event);
783 contextMenu.appendApplicableItems(event.target);
785 contextMenu.appendSeparator();
786 treeElement._populateTextContextMenu(contextMenu, textNode);
788 contextMenu.appendSeparator();
789 treeElement._populateTagContextMenu(contextMenu, event);
791 contextMenu.appendSeparator();
792 treeElement._populateNodeContextMenu(contextMenu);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/network/
ResourceWebSocketFrameView.js 100 * @param {!WebInspector.ContextMenu} contextMenu
103 _onContextMenu: function(contextMenu, node)
105 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Copy message" : "Copy Message"), this._copyMessage.bind(this, node.data));
NetworkPanel.js 403 this._dataGrid.element.addEventListener("contextmenu", this._contextMenu.bind(this), true);
    [all...]

Completed in 447 milliseconds

1 2 3