Title: [124619] trunk/Source/WebCore
Revision
124619
Author
[email protected]
Date
2012-08-03 09:07:57 -0700 (Fri, 03 Aug 2012)

Log Message

Unreviewed, restore Web Inspector JS frontend compilability after r124484 (fix JSDoc annotations).

* inspector/front-end/Settings.js:
* inspector/front-end/SettingsScreen.js:
* inspector/front-end/UserAgentSupport.js:
(WebInspector.UserAgentSupport.DeviceOrientation):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (124618 => 124619)


--- trunk/Source/WebCore/ChangeLog	2012-08-03 16:05:07 UTC (rev 124618)
+++ trunk/Source/WebCore/ChangeLog	2012-08-03 16:07:57 UTC (rev 124619)
@@ -1,3 +1,12 @@
+2012-08-03  Alexander Pavlov  <[email protected]>
+
+        Unreviewed, restore Web Inspector JS frontend compilability after r124484 (fix JSDoc annotations).
+
+        * inspector/front-end/Settings.js:
+        * inspector/front-end/SettingsScreen.js:
+        * inspector/front-end/UserAgentSupport.js:
+        (WebInspector.UserAgentSupport.DeviceOrientation):
+
 2012-08-03  Philippe Normand  <[email protected]>
 
         Unreviewed, rolling out r124614.

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


--- trunk/Source/WebCore/inspector/front-end/Settings.js	2012-08-03 16:05:07 UTC (rev 124618)
+++ trunk/Source/WebCore/inspector/front-end/Settings.js	2012-08-03 16:07:57 UTC (rev 124619)
@@ -57,6 +57,7 @@
     canOverrideDeviceMetrics: false,
     timelineSupportsFrameInstrumentation: false,
     canOverrideGeolocation: false,
+    canOverrideDeviceOrientation: false,
 }
 
 /**

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


--- trunk/Source/WebCore/inspector/front-end/SettingsScreen.js	2012-08-03 16:05:07 UTC (rev 124618)
+++ trunk/Source/WebCore/inspector/front-end/SettingsScreen.js	2012-08-03 16:07:57 UTC (rev 124619)
@@ -515,7 +515,7 @@
      * @param {Element} parentElement
      * @param {string} id
      * @param {string} defaultText
-     * @param {function} eventListener
+     * @param {function(*)} eventListener
      * @return {Element} element
      */
     _createInput: function(parentElement, id, defaultText, eventListener)

Modified: trunk/Source/WebCore/inspector/front-end/UserAgentSupport.js (124618 => 124619)


--- trunk/Source/WebCore/inspector/front-end/UserAgentSupport.js	2012-08-03 16:05:07 UTC (rev 124618)
+++ trunk/Source/WebCore/inspector/front-end/UserAgentSupport.js	2012-08-03 16:07:57 UTC (rev 124619)
@@ -235,7 +235,13 @@
     PageAgent.clearGeolocationOverride();
 }
 
-WebInspector.UserAgentSupport.DeviceOrientation = function (alpha, beta, gamma)
+/**
+ * @constructor
+ * @param {number} alpha
+ * @param {number} beta
+ * @param {number} gamma
+ */
+WebInspector.UserAgentSupport.DeviceOrientation = function(alpha, beta, gamma)
 {
     this.alpha = alpha;
     this.beta = beta;
@@ -252,7 +258,7 @@
     }
 }
 
-/*
+/**
  * @return {WebInspector.UserAgentSupport.DeviceOrientation}
  */
 WebInspector.UserAgentSupport.DeviceOrientation.parseSetting = function(value)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to