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

Unified Diff: Source/devtools/front_end/main/Main.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
Index: Source/devtools/front_end/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index c58c6071429479210e040fc63732616d07ee69ea..f3eba3d0b0d1b173d1cce5f258bc815e2c77be51 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -254,7 +254,7 @@ WebInspector.Main.prototype = {
return;
}
- if (!InspectorFrontendHost.isStub()) {
+ if (!InspectorFrontendHost.isHostedMode()) {
this._connectionEstablished(new InspectorBackendClass.MainConnection());
return;
}
@@ -724,7 +724,7 @@ WebInspector.Main.ZoomInActionDelegate.prototype = {
*/
handleAction: function()
{
- if (InspectorFrontendHost.isStub())
+ if (InspectorFrontendHost.isHostedMode())
return false;
InspectorFrontendHost.zoomIn();
@@ -746,7 +746,7 @@ WebInspector.Main.ZoomOutActionDelegate.prototype = {
*/
handleAction: function()
{
- if (InspectorFrontendHost.isStub())
+ if (InspectorFrontendHost.isHostedMode())
return false;
InspectorFrontendHost.zoomOut();
@@ -768,7 +768,7 @@ WebInspector.Main.ZoomResetActionDelegate.prototype = {
*/
handleAction: function()
{
- if (InspectorFrontendHost.isStub())
+ if (InspectorFrontendHost.isHostedMode())
return false;
InspectorFrontendHost.resetZoom();
« no previous file with comments | « Source/devtools/front_end/host/InspectorFrontendHost.js ('k') | Source/devtools/front_end/ui/ContextMenu.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698