Title: [132645] trunk/Source/WebCore
Revision
132645
Author
[email protected]
Date
2012-10-26 06:27:53 -0700 (Fri, 26 Oct 2012)

Log Message

Web Inspector: Bring device geolocation and orientation emulation from behind the experiment
https://bugs.webkit.org/show_bug.cgi?id=100220

Reviewed by Yury Semikhatsky.

* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
* inspector/front-end/SettingsScreen.js:
(WebInspector.UserAgentSettingsTab):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (132644 => 132645)


--- trunk/Source/WebCore/ChangeLog	2012-10-26 13:20:38 UTC (rev 132644)
+++ trunk/Source/WebCore/ChangeLog	2012-10-26 13:27:53 UTC (rev 132645)
@@ -1,3 +1,15 @@
+2012-10-25  Alexander Pavlov  <[email protected]>
+
+        Web Inspector: Bring device geolocation and orientation emulation from behind the experiment
+        https://bugs.webkit.org/show_bug.cgi?id=100220
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/front-end/Settings.js:
+        (WebInspector.ExperimentsSettings):
+        * inspector/front-end/SettingsScreen.js:
+        (WebInspector.UserAgentSettingsTab):
+
 2012-10-26  Yury Semikhatsky  <[email protected]>
 
         Memory instrumentation: report memory occupied by ResourceRequest instead of its base ResourceRequestBase

Modified: trunk/Source/WebCore/inspector/front-end/Settings.js (132644 => 132645)


--- trunk/Source/WebCore/inspector/front-end/Settings.js	2012-10-26 13:20:38 UTC (rev 132644)
+++ trunk/Source/WebCore/inspector/front-end/Settings.js	2012-10-26 13:27:53 UTC (rev 132645)
@@ -196,8 +196,6 @@
     this.fileSystemInspection = this._createExperiment("fileSystemInspection", "FileSystem inspection");
     this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection");
     this.mainThreadMonitoring = this._createExperiment("mainThreadMonitoring", "Show CPU activity in Timeline");
-    this.geolocationOverride = this._createExperiment("geolocationOverride", "Override Device Geolocation");
-    this.deviceOrientationOverride = this._createExperiment("deviceOrientationOverride", "Override Device Orientation");
     this.sass = this._createExperiment("sass", "Support for SASS");
     this.codemirror = this._createExperiment("codemirror", "Use CodeMirror editor");
     this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support");

Modified: trunk/Source/WebCore/inspector/front-end/SettingsScreen.js (132644 => 132645)


--- trunk/Source/WebCore/inspector/front-end/SettingsScreen.js	2012-10-26 13:20:38 UTC (rev 132644)
+++ trunk/Source/WebCore/inspector/front-end/SettingsScreen.js	2012-10-26 13:27:53 UTC (rev 132645)
@@ -390,9 +390,9 @@
     p.appendChild(this._createUserAgentControl());
     if (Capabilities.canOverrideDeviceMetrics)
         p.appendChild(this._createDeviceMetricsControl());
-    if (Capabilities.canOverrideGeolocation && WebInspector.experimentsSettings.geolocationOverride.isEnabled())
+    if (Capabilities.canOverrideGeolocation)
         p.appendChild(this._createGeolocationOverrideControl());
-    if (Capabilities.canOverrideDeviceOrientation && WebInspector.experimentsSettings.deviceOrientationOverride.isEnabled())
+    if (Capabilities.canOverrideDeviceOrientation)
         p.appendChild(this._createDeviceOrientationOverrideControl());
     p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Emulate touch events"), WebInspector.settings.emulateTouchEvents));
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to