Title: [134050] trunk/Source/WebCore
Revision
134050
Author
kei...@webkit.org
Date
2012-11-09 04:28:58 -0800 (Fri, 09 Nov 2012)

Log Message

Fix annotations in page popup files
https://bugs.webkit.org/show_bug.cgi?id=101736

Reviewed by Kent Tamura.

Add @constructor where needed. Replacing /* with /** for annotations.

No new tests. No behavior change.

* Resources/pagepopups/calendarPicker.js:
* Resources/pagepopups/pickerCommon.js:
* Resources/pagepopups/suggestionPicker.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (134049 => 134050)


--- trunk/Source/WebCore/ChangeLog	2012-11-09 12:23:45 UTC (rev 134049)
+++ trunk/Source/WebCore/ChangeLog	2012-11-09 12:28:58 UTC (rev 134050)
@@ -1,3 +1,18 @@
+2012-11-09  Keishi Hattori  <kei...@webkit.org>
+
+        Fix annotations in page popup files
+        https://bugs.webkit.org/show_bug.cgi?id=101736
+
+        Reviewed by Kent Tamura.
+
+        Add @constructor where needed. Replacing /* with /** for annotations.
+
+        No new tests. No behavior change.
+
+        * Resources/pagepopups/calendarPicker.js:
+        * Resources/pagepopups/pickerCommon.js:
+        * Resources/pagepopups/suggestionPicker.js:
+
 2012-11-09  Huang Dongsung  <luxte...@company100.net>
 
         Coordinated Graphics: Remove a backing store of GraphicsLayer when the layer is far from the viewport.

Modified: trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js (134049 => 134050)


--- trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js	2012-11-09 12:23:45 UTC (rev 134049)
+++ trunk/Source/WebCore/Resources/pagepopups/calendarPicker.js	2012-11-09 12:28:58 UTC (rev 134050)
@@ -110,7 +110,7 @@
     return window.pagePopupController.localizeNumberString(number);
 }
 
-/*
+/**
  * @const
  * @type {number}
  */
@@ -202,6 +202,7 @@
 }
 
 /**
+ * @constructor
  * @param {!number|Day} valueOrDayOrYear
  * @param {!number=} month
  * @param {!number=} date
@@ -471,6 +472,7 @@
 };
 
 /**
+ * @constructor
  * @param {!number|Month} valueOrMonthOrYear
  * @param {!number=} month
  */
@@ -1115,32 +1117,32 @@
     this.picker.showMonth(Month.parse(selection.dataset.value));
 };
 
-/*
+/**
  * @const
  * @type {number}
  */
 YearMonthController.PreviousTenYears = -120;
-/*
+/**
  * @const
  * @type {number}
  */
 YearMonthController.PreviousYear = -12;
-/*
+/**
  * @const
  * @type {number}
  */
 YearMonthController.PreviousMonth = -1;
-/*
+/**
  * @const
  * @type {number}
  */
 YearMonthController.NextMonth = 1;
-/*
+/**
  * @const
  * @type {number}
  */
 YearMonthController.NextYear = 12;
-/*
+/**
  * @const
  * @type {number}
  */

Modified: trunk/Source/WebCore/Resources/pagepopups/pickerCommon.js (134049 => 134050)


--- trunk/Source/WebCore/Resources/pagepopups/pickerCommon.js	2012-11-09 12:23:45 UTC (rev 134049)
+++ trunk/Source/WebCore/Resources/pagepopups/pickerCommon.js	2012-11-09 12:28:58 UTC (rev 134050)
@@ -45,6 +45,13 @@
     return element;
 }
 
+/**
+ * @constructor
+ * @param {!number|Rectangle|Object} xOrRect
+ * @param {!number} y
+ * @param {!number} width
+ * @param {!number} height
+ */
 function Rectangle(xOrRect, y, width, height) {
     if (typeof xOrRect === "object") {
         y = xOrRect.y;

Modified: trunk/Source/WebCore/Resources/pagepopups/suggestionPicker.js (134049 => 134050)


--- trunk/Source/WebCore/Resources/pagepopups/suggestionPicker.js	2012-11-09 12:23:45 UTC (rev 134049)
+++ trunk/Source/WebCore/Resources/pagepopups/suggestionPicker.js	2012-11-09 12:28:58 UTC (rev 134050)
@@ -24,6 +24,7 @@
  */
 
 /**
+ * @constructor
  * @param {!Element} element
  * @param {!Object} config
  */
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to