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

Unified Diff: chrome/browser/resources/ntp4/page_switcher.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/ntp4/page_switcher.js
diff --git a/chrome/browser/resources/ntp4/page_switcher.js b/chrome/browser/resources/ntp4/page_switcher.js
index 5babba48ce6a3470002116ad177707c086b7a826..f32f6edca3e5236e654389c9f9da0d68f7560e82 100644
--- a/chrome/browser/resources/ntp4/page_switcher.js
+++ b/chrome/browser/resources/ntp4/page_switcher.js
@@ -13,8 +13,7 @@ cr.define('ntp', function() {
* @constructor
* @extends {HTMLButtonElement}
*/
- function PageSwitcher() {
- }
+ function PageSwitcher() {}
PageSwitcher.prototype = {
__proto__: HTMLButtonElement.prototype,
@@ -72,7 +71,8 @@ cr.define('ntp', function() {
var currentPageTitle = currentDot.displayTitle;
var nextPageTitle = nextDot.displayTitle;
var msgName = (currentPageTitle == nextPageTitle) ?
- 'page_switcher_same_title' : 'page_switcher_change_title';
+ 'page_switcher_same_title' :
+ 'page_switcher_change_title';
var ariaLabel = loadTimeData.getStringF(msgName, nextPageTitle);
this.setAttribute('aria-label', ariaLabel);
},

Powered by Google App Engine
This is Rietveld 408576698