Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1242)

Unified Diff: chrome/browser/resources/options2/inline_editable_list.js

Issue 10827283: This updates the StaticIP configuration UI to match new mocks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options2/inline_editable_list.js
diff --git a/chrome/browser/resources/options2/inline_editable_list.js b/chrome/browser/resources/options2/inline_editable_list.js
index d07bc52352fb2c8f9397409baf1003e31021128b..c9d6a93baf0bc0cca111c3dec475e3c2c5e712e9 100644
--- a/chrome/browser/resources/options2/inline_editable_list.js
+++ b/chrome/browser/resources/options2/inline_editable_list.js
@@ -180,7 +180,7 @@ cr.define('options', function() {
/**
* The HTML element that should have focus initially when editing starts,
* if a specific element wasn't clicked.
- * Defaults to the first <input> element; can be overriden by subclasses if
+ * Defaults to the first <input> element; can be overridden by subclasses if
* a different element should be focused.
* @type {HTMLElement}
*/
@@ -192,7 +192,7 @@ cr.define('options', function() {
* Whether the input in currently valid to submit. If this returns false
* when editing would be submitted, either editing will not be ended,
* or it will be cancelled, depending on the context.
- * Can be overrided by subclasses to perform input validation.
+ * Can be overridden by subclasses to perform input validation.
* @type {boolean}
*/
get currentInputIsValid() {
@@ -201,7 +201,7 @@ cr.define('options', function() {
/**
* Returns true if the item has been changed by an edit.
- * Can be overrided by subclasses to return false when nothing has changed
+ * Can be overridden by subclasses to return false when nothing has changed
* to avoid unnecessary commits.
* @type {boolean}
*/
@@ -296,7 +296,7 @@ cr.define('options', function() {
},
/**
- * Called a key is pressed. Handles committing and cancelling edits.
+ * Called when a key is pressed. Handles committing and canceling edits.
* @param {Event} e The key down event.
* @private
*/
« no previous file with comments | « chrome/browser/resources/options2/editable_text_field.js ('k') | chrome/browser/resources/options2/options_bundle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698