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

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

Issue 2578013002: [MD History] clang-format all javascript. (Closed)
Patch Set: rebase 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
Index: chrome/browser/resources/md_history/history_toolbar.js
diff --git a/chrome/browser/resources/md_history/history_toolbar.js b/chrome/browser/resources/md_history/history_toolbar.js
index fbe0359cf4e4a7509cf13028eea962723dd3b986..f940ad309c96b0b7437ece64a2f44c7c235ae987 100644
--- a/chrome/browser/resources/md_history/history_toolbar.js
+++ b/chrome/browser/resources/md_history/history_toolbar.js
@@ -8,11 +8,19 @@ Polymer({
// Number of history items currently selected.
// TODO(calamity): bind this to
// listContainer.selectedItem.selectedPaths.length.
- count: {type: Number, value: 0, observer: 'changeToolbarView_'},
+ count: {
+ type: Number,
+ value: 0,
+ observer: 'changeToolbarView_',
+ },
// True if 1 or more history items are selected. When this value changes
// the background colour changes.
- itemsSelected_: {type: Boolean, value: false, reflectToAttribute: true},
+ itemsSelected_: {
+ type: Boolean,
+ value: false,
+ reflectToAttribute: true,
+ },
// The most recent term entered in the search field. Updated incrementally
// as the user types.
@@ -24,15 +32,16 @@ Polymer({
// True if the backend is processing and a spinner should be shown in the
// toolbar.
- spinnerActive: {type: Boolean, value: false},
+ spinnerActive: {
+ type: Boolean,
+ value: false,
+ },
hasDrawer: {
type: Boolean,
reflectToAttribute: true,
},
- showSyncNotice: Boolean,
-
// Whether domain-grouped history is enabled.
isGroupedMode: {
type: Boolean,
@@ -64,6 +73,8 @@ Polymer({
// Whether to show the menu promo (a tooltip that points at the menu button
// in narrow mode).
showMenuPromo: Boolean,
+
+ showSyncNotice: Boolean,
},
/** @return {CrToolbarSearchFieldElement} */
@@ -134,7 +145,7 @@ Polymer({
getHistoryInterval_: function(queryStartTime, queryEndTime) {
// TODO(calamity): Fix the format of these dates.
return loadTimeData.getStringF(
- 'historyInterval', queryStartTime, queryEndTime);
+ 'historyInterval', queryStartTime, queryEndTime);
},
/** @private */
« no previous file with comments | « chrome/browser/resources/md_history/history_list_behavior.js ('k') | chrome/browser/resources/md_history/lazy_load.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698