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

Unified Diff: Source/devtools/front_end/common/Settings.js

Issue 317153002: [DevTools] Move user agent override to responsive design toolbar. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Optimized pngs Created 6 years, 6 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/common/Settings.js
diff --git a/Source/devtools/front_end/common/Settings.js b/Source/devtools/front_end/common/Settings.js
index e264cdcf783eddd8dadee50bed16f4944b26e212..e1b6d4b7837cad343725af9de79b0baea7f3d439 100644
--- a/Source/devtools/front_end/common/Settings.js
+++ b/Source/devtools/front_end/common/Settings.js
@@ -90,7 +90,9 @@ WebInspector.Settings = function()
this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled", false);
this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", false);
this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", false);
- this.responsiveDesignMode = this.createSetting("responsiveDesignMode", false);
+
+ this.responsiveDesign = {};
+ this.responsiveDesign.enabled = this.createSetting("responsiveDesign.enabled", false);
}
WebInspector.Settings.prototype = {

Powered by Google App Engine
This is Rietveld 408576698