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

Unified Diff: chrome/browser/resources/md_history/synced_device_manager.js

Issue 2607653002: MD History: clang-format Javascript files (again!) (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « chrome/browser/resources/md_history/synced_device_card.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/synced_device_manager.js
diff --git a/chrome/browser/resources/md_history/synced_device_manager.js b/chrome/browser/resources/md_history/synced_device_manager.js
index e23f571767f526e0173b34ec186c92d0be125a69..e943d48df6a1d275fbb8820f69c139382e3401c8 100644
--- a/chrome/browser/resources/md_history/synced_device_manager.js
+++ b/chrome/browser/resources/md_history/synced_device_manager.js
@@ -36,7 +36,9 @@ Polymer({
*/
syncedDevices_: {
type: Array,
- value: function() { return []; },
+ value: function() {
+ return [];
+ },
},
/** @private */
@@ -87,10 +89,14 @@ Polymer({
},
/** @override */
- detached: function() { this.focusGrid_.destroy(); },
+ detached: function() {
+ this.focusGrid_.destroy();
+ },
/** @return {HTMLElement} */
- getContentScrollTarget: function() { return this; },
+ getContentScrollTarget: function() {
+ return this;
+ },
/**
* @param {!ForeignSession} session
@@ -106,7 +112,9 @@ Polymer({
if (newTabs.length == 0)
continue;
- newTabs.forEach(function(tab) { tab.windowId = windowId; });
+ newTabs.forEach(function(tab) {
+ tab.windowId = windowId;
+ });
var windowAdded = false;
if (!this.searchTerm) {
@@ -138,7 +146,9 @@ Polymer({
},
/** @private */
- onSignInTap_: function() { chrome.send('startSignInFlow'); },
+ onSignInTap_: function() {
+ chrome.send('startSignInFlow');
+ },
/** @private */
onOpenMenu_: function(e) {
@@ -177,7 +187,9 @@ Polymer({
return prev.concat(cur.createFocusRows());
},
[])
- .forEach(function(row) { this.focusGrid_.addRow(row); }.bind(this));
+ .forEach(function(row) {
+ this.focusGrid_.addRow(row);
+ }.bind(this));
this.focusGrid_.ensureRowActive();
});
},
@@ -195,7 +207,9 @@ Polymer({
},
/** @private */
- clearDisplayedSyncedDevices_: function() { this.syncedDevices_ = []; },
+ clearDisplayedSyncedDevices_: function() {
+ this.syncedDevices_ = [];
+ },
/**
* Decide whether or not should display no synced tabs message.
« no previous file with comments | « chrome/browser/resources/md_history/synced_device_card.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698