Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / webui / resources / js / cr / ui / autocomplete_list.js
index 378e7c6..ab74955 100644 (file)
@@ -142,9 +142,9 @@ cr.define('cr.ui', function() {
      * Handles the selected suggestion. Called when a suggestion is selected.
      * By default, sets the target input element's value to the 'url' field
      * of the selected suggestion.
-     * @param {Event} event The change event.
+     * @param {Object} selectedSuggestion
      */
-    handleSelectedSuggestion : function(selectedSuggestion) {
+    handleSelectedSuggestion: function(selectedSuggestion) {
       var input = this.targetInput_;
       if (!input)
         return;
@@ -216,7 +216,7 @@ cr.define('cr.ui', function() {
 
     /**
      * syncWidthAndPositionToInput function bound to |this|.
-     * @type {Function}
+     * @type {!Function|undefined}
      * @private
      */
     boundSyncWidthAndPositionToInput_: undefined,