summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/options')
-rw-r--r--chrome/browser/resources/options/autofill_edit_address_overlay.js2
-rw-r--r--chrome/browser/resources/options/autofill_options.js6
-rw-r--r--chrome/browser/resources/options/autofill_options_list.js2
-rw-r--r--chrome/browser/resources/options/chromeos/bluetooth_device_list.js6
-rw-r--r--chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js2
-rw-r--r--chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js4
-rw-r--r--chrome/browser/resources/options/chromeos/pointer_overlay.js2
-rw-r--r--chrome/browser/resources/options/language_list.js2
-rw-r--r--chrome/browser/resources/options/language_options.js2
-rw-r--r--chrome/browser/resources/options/manage_profile_overlay.js10
-rw-r--r--chrome/browser/resources/options/options_page.js2
-rw-r--r--chrome/browser/resources/options/search_page.js2
12 files changed, 21 insertions, 21 deletions
diff --git a/chrome/browser/resources/options/autofill_edit_address_overlay.js b/chrome/browser/resources/options/autofill_edit_address_overlay.js
index c0c8fd2..b239e99 100644
--- a/chrome/browser/resources/options/autofill_edit_address_overlay.js
+++ b/chrome/browser/resources/options/autofill_edit_address_overlay.js
@@ -90,7 +90,7 @@ cr.define('options', function() {
/**
* Updates the data model for the list named |listName| with the values from
* |entries|.
- * @param {String} listName The id of the list.
+ * @param {string} listName The id of the list.
* @param {Array} entries The list of items to be added to the list.
*/
setMultiValueList_: function(listName, entries) {
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js
index 2c30ade..89cd421 100644
--- a/chrome/browser/resources/options/autofill_options.js
+++ b/chrome/browser/resources/options/autofill_options.js
@@ -127,7 +127,7 @@ cr.define('options', function() {
/**
* Removes the Autofill address or credit card represented by |guid|.
- * @param {String} guid The GUID of the address to remove.
+ * @param {string} guid The GUID of the address to remove.
* @private
*/
removeData_: function(guid) {
@@ -138,7 +138,7 @@ cr.define('options', function() {
* Requests profile data for the address represented by |guid| from the
* PersonalDataManager. Once the data is loaded, the AutofillOptionsHandler
* calls showEditAddressOverlay().
- * @param {String} guid The GUID of the address to edit.
+ * @param {string} guid The GUID of the address to edit.
* @private
*/
loadAddressEditor_: function(guid) {
@@ -149,7 +149,7 @@ cr.define('options', function() {
* Requests profile data for the credit card represented by |guid| from the
* PersonalDataManager. Once the data is loaded, the AutofillOptionsHandler
* calls showEditCreditCardOverlay().
- * @param {String} guid The GUID of the credit card to edit.
+ * @param {string} guid The GUID of the credit card to edit.
* @private
*/
loadCreditCardEditor_: function(guid) {
diff --git a/chrome/browser/resources/options/autofill_options_list.js b/chrome/browser/resources/options/autofill_options_list.js
index 386cf46..2e16a8f 100644
--- a/chrome/browser/resources/options/autofill_options_list.js
+++ b/chrome/browser/resources/options/autofill_options_list.js
@@ -108,7 +108,7 @@ cr.define('options.autofillOptions', function() {
/**
* Creates a new value list item.
* @param {AutofillValuesList} list The parent list of this item.
- * @param {String} entry A string value.
+ * @param {string} entry A string value.
* @constructor
* @extends {options.InlineEditableItem}
*/
diff --git a/chrome/browser/resources/options/chromeos/bluetooth_device_list.js b/chrome/browser/resources/options/chromeos/bluetooth_device_list.js
index c52429d..c9ce653 100644
--- a/chrome/browser/resources/options/chromeos/bluetooth_device_list.js
+++ b/chrome/browser/resources/options/chromeos/bluetooth_device_list.js
@@ -157,7 +157,7 @@ cr.define('options.system.bluetooth', function() {
* is hidden is not properly rendered when the list becomes visible. In
* addition, deleting a single item from the list results in a stale cache
* requiring an invalidation.
- * @param {String=} opt_selection Optional address of device to select
+ * @param {string=} opt_selection Optional address of device to select
* after refreshing the list.
*/
refresh: function(opt_selection) {
@@ -174,7 +174,7 @@ cr.define('options.system.bluetooth', function() {
/**
* Retrieves the address of the selected device, or null if no device is
* selected.
- * @return {?String} Address of selected device or null.
+ * @return {?string} Address of selected device or null.
* @private
*/
getSelectedDevice_: function() {
@@ -186,7 +186,7 @@ cr.define('options.system.bluetooth', function() {
/**
* Selects the device with the matching address.
- * @param {String} address The unique address of the device.
+ * @param {string} address The unique address of the device.
* @private
*/
setSelectedDevice_: function(address) {
diff --git a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
index f0e1107..4a6abb3 100644
--- a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
+++ b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js
@@ -22,7 +22,7 @@ cr.define('options', function() {
/**
* List of IDs for conditionally visible elements in the dialog.
- * @type {Array.<String>}
+ * @type {Array.<string>}
* @const
*/
var ELEMENTS = ['bluetooth-pairing-passkey-display',
diff --git a/chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js b/chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js
index 5155ecd..d0a096c 100644
--- a/chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js
+++ b/chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js
@@ -83,8 +83,8 @@ cr.define('options.internet', function() {
* whitespace and leading zeros from each of the octets so that they conform
* to the normal format for IP addresses.
* @override
- * @param {String} value Input IP address to be mutated.
- * @return {String} mutated IP address.
+ * @param {string} value Input IP address to be mutated.
+ * @return {string} mutated IP address.
*/
mutateInput: function(value) {
if (!value)
diff --git a/chrome/browser/resources/options/chromeos/pointer_overlay.js b/chrome/browser/resources/options/chromeos/pointer_overlay.js
index a62b876..d6a4de9 100644
--- a/chrome/browser/resources/options/chromeos/pointer_overlay.js
+++ b/chrome/browser/resources/options/chromeos/pointer_overlay.js
@@ -55,7 +55,7 @@ cr.define('options', function() {
* button that activates the overlay is also updated to stay in sync. A
* message is displayed in the main settings page if no pointer devices are
* available.
- * @param {String} label i18n key for the overlay title.
+ * @param {string} label i18n key for the overlay title.
*/
PointerOverlay.setTitle = function(label) {
var button = $('pointer-settings-button');
diff --git a/chrome/browser/resources/options/language_list.js b/chrome/browser/resources/options/language_list.js
index fda0b03..6d5817a6 100644
--- a/chrome/browser/resources/options/language_list.js
+++ b/chrome/browser/resources/options/language_list.js
@@ -29,7 +29,7 @@ cr.define('options', function() {
/**
* The language code of this language.
- * @type {String}
+ * @type {string}
* @private
*/
languageCode_: null,
diff --git a/chrome/browser/resources/options/language_options.js b/chrome/browser/resources/options/language_options.js
index 5c41cd8..d5d7150 100644
--- a/chrome/browser/resources/options/language_options.js
+++ b/chrome/browser/resources/options/language_options.js
@@ -684,7 +684,7 @@ cr.define('options', function() {
/**
* Checks if languageCode is deletable or not.
- * @param {String} languageCode the languageCode to check for deletability.
+ * @param {string} languageCode the languageCode to check for deletability.
*/
languageIsDeletable: function(languageCode) {
// Don't allow removing the language if it's a UI language.
diff --git a/chrome/browser/resources/options/manage_profile_overlay.js b/chrome/browser/resources/options/manage_profile_overlay.js
index 84eba7d..52866ec 100644
--- a/chrome/browser/resources/options/manage_profile_overlay.js
+++ b/chrome/browser/resources/options/manage_profile_overlay.js
@@ -120,7 +120,7 @@ cr.define('options', function() {
* filePath: "/path/to/profile/data/on/disk"
* isCurrentProfile: false,
* };
- * @param {String} mode A label that specifies the type of dialog
+ * @param {string} mode A label that specifies the type of dialog
* box which is currently being viewed (i.e. 'create' or
* 'manage').
* @private
@@ -176,7 +176,7 @@ cr.define('options', function() {
/**
* Display the error bubble, with |errorText| in the bubble.
* @param {string} errorText The localized string id to display as an error.
- * @param {String} mode A label that specifies the type of dialog
+ * @param {string} mode A label that specifies the type of dialog
* box which is currently being viewed (i.e. 'create' or
* 'manage').
* @private
@@ -191,7 +191,7 @@ cr.define('options', function() {
/**
* Hide the error bubble.
- * @param {String} mode A label that specifies the type of dialog
+ * @param {string} mode A label that specifies the type of dialog
* box which is currently being viewed (i.e. 'create' or
* 'manage').
* @private
@@ -204,7 +204,7 @@ cr.define('options', function() {
/**
* oninput callback for <input> field.
* @param {Event} event The event object.
- * @param {String} mode A label that specifies the type of dialog
+ * @param {string} mode A label that specifies the type of dialog
* box which is currently being viewed (i.e. 'create' or
* 'manage').
* @private
@@ -242,7 +242,7 @@ cr.define('options', function() {
/**
* Called when the selected icon in the icon grid changes.
- * @param {String} mode A label that specifies the type of dialog
+ * @param {string} mode A label that specifies the type of dialog
* box which is currently being viewed (i.e. 'create' or
* 'manage').
* @private
diff --git a/chrome/browser/resources/options/options_page.js b/chrome/browser/resources/options/options_page.js
index bdd0391..00e22a4 100644
--- a/chrome/browser/resources/options/options_page.js
+++ b/chrome/browser/resources/options/options_page.js
@@ -179,7 +179,7 @@ cr.define('options', function() {
/**
* Sets the title of the page. This is accomplished by calling into the
* parent page API.
- * @param {String} title The title string.
+ * @param {string} title The title string.
* @private
*/
OptionsPage.setTitle_ = function(title) {
diff --git a/chrome/browser/resources/options/search_page.js b/chrome/browser/resources/options/search_page.js
index 75a50ff..234399d 100644
--- a/chrome/browser/resources/options/search_page.js
+++ b/chrome/browser/resources/options/search_page.js
@@ -127,7 +127,7 @@ cr.define('options', function() {
/**
* A boolean to prevent recursion. Used by setSearchText_().
- * @type {Boolean}
+ * @type {boolean}
* @private
*/
insideSetSearchText_: false,