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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js

Issue 2943193002: Run clang-format on .js files in c/b/r/chromeos/chromevox (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/cvox2/background/tabs_automation_handler.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js
index 0e2365608fe4ed1dc545049ed154990879bf517c..5a8512ac4856b5cab81b2e9319d047c9352e72a3 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js
@@ -29,8 +29,8 @@ TabsAutomationHandler = function(tabRoot) {
// When the root is focused, simulate what happens on a load complete.
if (tabRoot.state[StateType.FOCUSED]) {
- var event = new CustomAutomationEvent(
- EventType.LOAD_COMPLETE, tabRoot, 'page');
+ var event =
+ new CustomAutomationEvent(EventType.LOAD_COMPLETE, tabRoot, 'page');
this.onLoadComplete(event);
}
};
@@ -46,8 +46,8 @@ TabsAutomationHandler.prototype = {
/** @override */
onLoadComplete: function(evt) {
var focused = evt.target.find({state: {focused: true}}) || evt.target;
- var event = new CustomAutomationEvent(
- EventType.FOCUS, focused, evt.eventFrom);
+ var event =
+ new CustomAutomationEvent(EventType.FOCUS, focused, evt.eventFrom);
this.onFocus(event);
}
};

Powered by Google App Engine
This is Rietveld 408576698