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

Unified Diff: chrome/browser/resources/settings/settings_main/settings_main.js

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge Created 3 years, 11 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/settings/settings_main/settings_main.js
diff --git a/chrome/browser/resources/settings/settings_main/settings_main.js b/chrome/browser/resources/settings/settings_main/settings_main.js
index 51bb5f422fb7db5c411e7c39dc236072f6f8e1db..22e319f26a0ed4c0183b3433c2517ed91265bfab 100644
--- a/chrome/browser/resources/settings/settings_main/settings_main.js
+++ b/chrome/browser/resources/settings/settings_main/settings_main.js
@@ -76,7 +76,9 @@ Polymer({
*/
pageVisibility: {
type: Object,
- value: function() { return {}; },
+ value: function() {
+ return {};
+ },
},
showAndroidApps: Boolean,
@@ -122,8 +124,8 @@ Polymer({
var visibleBottom = scroller.scrollTop + scroller.clientHeight;
var overscrollBottom = overscroll.offsetTop + overscroll.scrollHeight;
// How much of the overscroll is visible (may be negative).
- var visibleOverscroll = overscroll.scrollHeight -
- (overscrollBottom - visibleBottom);
+ var visibleOverscroll =
+ overscroll.scrollHeight - (overscrollBottom - visibleBottom);
this.overscroll_ = Math.max(opt_minHeight || 0, visibleOverscroll);
},
@@ -229,12 +231,12 @@ Polymer({
*/
getPage_: function(route) {
if (settings.Route.ABOUT.contains(route)) {
- return /** @type {?SettingsAboutPageElement} */(
+ return /** @type {?SettingsAboutPageElement} */ (
this.$$('settings-about-page'));
}
if (settings.Route.BASIC.contains(route) ||
settings.Route.ADVANCED.contains(route)) {
- return /** @type {?SettingsBasicPageElement} */(
+ return /** @type {?SettingsBasicPageElement} */ (
this.$$('settings-basic-page'));
}
assertNotReached();

Powered by Google App Engine
This is Rietveld 408576698