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

Unified Diff: chrome/browser/resources/chromeos/chromevox/testing/tester.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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/chromeos/chromevox/testing/tester.js
diff --git a/chrome/browser/resources/chromeos/chromevox/testing/tester.js b/chrome/browser/resources/chromeos/chromevox/testing/tester.js
index bab5c6a1559b2b1b3d563ff4896a8bb45d13feaa..f002f0834f814b9787ca9176c20439ae6837a732 100644
--- a/chrome/browser/resources/chromeos/chromevox/testing/tester.js
+++ b/chrome/browser/resources/chromeos/chromevox/testing/tester.js
@@ -38,7 +38,7 @@ cvox.ChromeVoxTester.setUp = function(doc) {
// TODO(deboer): Factor this out as 'TestEarcons'
cvox.ChromeVox.earcons = new cvox.AbstractEarcons();
- cvox.ChromeVox.earcons.playEarcon = function(earcon) { };
+ cvox.ChromeVox.earcons.playEarcon = function(earcon) {};
cvox.ChromeVox.braille = new cvox.BrailleInterface();
cvox.ChromeVox.braille.write = function(params) {};
@@ -108,15 +108,14 @@ cvox.ChromeVoxTester.STRATEGY_MAP = {
cvox.ChromeVoxTester.setStrategy = function(strategy) {
cvox.ChromeVox.navigationManager.ensureNotSubnavigating();
cvox.ChromeVox.navigationManager.setGranularity(
- cvox.ChromeVoxTester.STRATEGY_MAP[strategy]);
+ cvox.ChromeVoxTester.STRATEGY_MAP[strategy]);
};
/**
* Starts reading the page from the current node.
*/
cvox.ChromeVoxTester.readFromHere = function() {
- cvox.ChromeVox.navigationManager.startReading(
- cvox.QueueMode.FLUSH);
+ cvox.ChromeVox.navigationManager.startReading(cvox.QueueMode.FLUSH);
};
/**
@@ -124,8 +123,8 @@ cvox.ChromeVoxTester.readFromHere = function() {
* @param {Node} node The node to sync to.
*/
cvox.ChromeVoxTester.syncToNode = function(node) {
- cvox.ChromeVox.navigationManager
- .updateSel(cvox.CursorSelection.fromNode(node));
+ cvox.ChromeVox.navigationManager.updateSel(
+ cvox.CursorSelection.fromNode(node));
cvox.ChromeVox.navigationManager.sync();
};

Powered by Google App Engine
This is Rietveld 408576698