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

Unified Diff: Source/devtools/front_end/emulation/OverridesSupport.js

Issue 1163293003: [DevTools] Remove WI.OverridesSupport.responsiveDesignAvailable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplified Created 5 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
« no previous file with comments | « no previous file | Source/devtools/front_end/emulation/OverridesView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/emulation/OverridesSupport.js
diff --git a/Source/devtools/front_end/emulation/OverridesSupport.js b/Source/devtools/front_end/emulation/OverridesSupport.js
index 895f45523b711b97b156c29dce284ca88b1d578f..43dafa4e733985a3e0e54a9de902aaa864443f5b 100644
--- a/Source/devtools/front_end/emulation/OverridesSupport.js
+++ b/Source/devtools/front_end/emulation/OverridesSupport.js
@@ -31,9 +31,8 @@
/**
* @constructor
* @extends {WebInspector.Object}
- * @param {boolean} responsiveDesignAvailable
*/
-WebInspector.OverridesSupport = function(responsiveDesignAvailable)
+WebInspector.OverridesSupport = function()
{
this._touchEmulationSuspended = false;
this._emulateMobileEnabled = false;
@@ -43,7 +42,6 @@ WebInspector.OverridesSupport = function(responsiveDesignAvailable)
this._fixedDeviceScale = false;
this._initialized = false;
this._deviceMetricsThrottler = new WebInspector.Throttler(0);
- this._responsiveDesignAvailable = responsiveDesignAvailable;
this.settings = {};
this.settings._emulationEnabled = WebInspector.settings.createSetting("emulationEnabled", false);
@@ -298,14 +296,6 @@ WebInspector.OverridesSupport.prototype = {
},
/**
- * @return {boolean}
- */
- responsiveDesignAvailable: function()
- {
- return this._responsiveDesignAvailable;
- },
-
- /**
* @param {!WebInspector.Target} target
* @param {function()} callback
*/
« no previous file with comments | « no previous file | Source/devtools/front_end/emulation/OverridesView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698