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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.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/chromevox/injected/ui/overlay_widget.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js
index 4831ac7a2d465d7309d41d578316591292459b55..a0c48c4b13c988a4831a1e12bec6352b6347bbb8 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/overlay_widget.js
@@ -62,14 +62,14 @@ cvox.OverlayWidget.prototype.onKeyDown = function(evt) {
goog.base(this, 'onKeyDown', evt);
// Do not interfere with any key that exits the widget.
- if (evt.keyCode == 13 || evt.keyCode == 27) { // Enter or escape.
+ if (evt.keyCode == 13 || evt.keyCode == 27) { // Enter or escape.
return true;
}
// Bound navigation within the snippet for any other key.
var r = cvox.ChromeVox.navigationManager.isReversed();
if (!cvox.DomUtil.isDescendantOfNode(
- cvox.ChromeVox.navigationManager.getCurrentNode(), this.host_)) {
+ cvox.ChromeVox.navigationManager.getCurrentNode(), this.host_)) {
if (r) {
cvox.ChromeVox.navigationManager.syncToBeginning();
} else {
@@ -77,8 +77,8 @@ cvox.OverlayWidget.prototype.onKeyDown = function(evt) {
}
this.onNavigate();
cvox.ChromeVox.navigationManager.speakDescriptionArray(
- cvox.ChromeVox.navigationManager.getDescription(),
- cvox.QueueMode.FLUSH, null);
+ cvox.ChromeVox.navigationManager.getDescription(), cvox.QueueMode.FLUSH,
+ null);
}
return false;
};

Powered by Google App Engine
This is Rietveld 408576698