Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1935)

Unified Diff: Source/devtools/front_end/ui/ContextMenu.js

Issue 402563003: DevTools: Remote Web Debugging for mobile Chrome M37 doesn't work with desktop Chrome M38 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/ContextMenu.js
diff --git a/Source/devtools/front_end/ui/ContextMenu.js b/Source/devtools/front_end/ui/ContextMenu.js
index 1d5e90ffde9ce0b24f86151939288175cd3908ff..2a988154a2f9551b6898204abffa5919edaefc14 100644
--- a/Source/devtools/front_end/ui/ContextMenu.js
+++ b/Source/devtools/front_end/ui/ContextMenu.js
@@ -233,7 +233,7 @@ WebInspector.ContextMenu.prototype = {
if (menuObject.length) {
WebInspector._contextMenu = this;
- if (WebInspector.ContextMenu._useSoftMenu || InspectorFrontendHost.isStub()) {
+ if (WebInspector.ContextMenu._useSoftMenu || InspectorFrontendHost.isHostedMode()) {
var softMenu = new WebInspector.SoftContextMenu(menuObject, this._itemSelected.bind(this));
softMenu.show(this._event.x, this._event.y);
} else {
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698