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

Unified Diff: ui/accessibility/extensions/caretbrowsing/caretbrowsing.js

Issue 1150173003: Fix some JS style nits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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: ui/accessibility/extensions/caretbrowsing/caretbrowsing.js
diff --git a/ui/accessibility/extensions/caretbrowsing/caretbrowsing.js b/ui/accessibility/extensions/caretbrowsing/caretbrowsing.js
index b8a187cffc165b52e7a6e557bcd8e431e35e6910..0d587dacbc10d83a1ecd9f090781f68327ba12d6 100644
--- a/ui/accessibility/extensions/caretbrowsing/caretbrowsing.js
+++ b/ui/accessibility/extensions/caretbrowsing/caretbrowsing.js
@@ -360,7 +360,7 @@ CaretBrowsing.setFocusToNode = function(node) {
* Set focus to the first focusable node in the given list.
* select the text, otherwise it doesn't appear focused to the user.
* Every other control behaves normally if you just call focus() on it.
- * @param {Array.<Node>} nodeList An array of nodes to focus.
+ * @param {Array<Node>} nodeList An array of nodes to focus.
* @return {boolean} True if the node was focused.
*/
CaretBrowsing.setFocusToFirstFocusable = function(nodeList) {
@@ -768,7 +768,7 @@ CaretBrowsing.isMoveByWordEvent = function(evt) {
* Moves the cursor forwards to the next valid position.
* @param {Cursor} cursor The current cursor location.
* On exit, the cursor will be at the next position.
- * @param {Array.<Node>} nodesCrossed Any HTML nodes crossed between the
+ * @param {Array<Node>} nodesCrossed Any HTML nodes crossed between the
* initial and final cursor position will be pushed onto this array.
* @return {?string} The character reached, or null if the bottom of the
* document has been reached.
@@ -791,7 +791,7 @@ CaretBrowsing.forwards = function(cursor, nodesCrossed) {
* Moves the cursor backwards to the previous valid position.
* @param {Cursor} cursor The current cursor location.
* On exit, the cursor will be at the previous position.
- * @param {Array.<Node>} nodesCrossed Any HTML nodes crossed between the
+ * @param {Array<Node>} nodesCrossed Any HTML nodes crossed between the
* initial and final cursor position will be pushed onto this array.
* @return {?string} The character reached, or null if the top of the
* document has been reached.
« no previous file with comments | « tools/memory_inspector/chrome_app/template/main_window.js ('k') | ui/accessibility/extensions/caretbrowsing/traverse_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698