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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_speaker.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/navigation_speaker.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_speaker.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_speaker.js
index 6de2b8559d74e6ff3feee97b186d6b19693ef96d..89d1f97a3c2335526148f85c8249a68b0b7f1811 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_speaker.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_speaker.js
@@ -110,7 +110,7 @@ cvox.NavigationSpeaker.structuredElement = function(annon) {
switch (annon) {
case 'table':
case 'Math':
- return true;
+ return true;
}
return false;
};
@@ -128,10 +128,8 @@ cvox.NavigationSpeaker.prototype.reorderAnnotations = function(
for (var i = 0; i < descriptionArray.length; i++) {
var descr = descriptionArray[i];
if (cvox.NavigationSpeaker.structuredElement(descr.annotation)) {
- descs.push(new cvox.NavDescription({
- text: '',
- annotation: descr.annotation
- }));
+ descs.push(
+ new cvox.NavDescription({text: '', annotation: descr.annotation}));
descr.annotation = '';
}
descs.push(descr);

Powered by Google App Engine
This is Rietveld 408576698