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

Unified Diff: chrome/browser/resources/md_history/history_toolbar.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
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 f940ad309c96b0b7437ece64a2f44c7c235ae987..b7d8042e7b454934e4d438d8ffca6871d758e182 100644
--- a/chrome/browser/resources/md_history/history_toolbar.js
+++ b/chrome/browser/resources/md_history/history_toolbar.js
@@ -83,14 +83,18 @@ Polymer({
.getSearchField();
},
- showSearchField: function() { this.searchField.showAndFocus(); },
+ showSearchField: function() {
+ this.searchField.showAndFocus();
+ },
/**
* Changes the toolbar background color depending on whether any history items
* are currently selected.
* @private
*/
- changeToolbarView_: function() { this.itemsSelected_ = this.count > 0; },
+ changeToolbarView_: function() {
+ this.itemsSelected_ = this.count > 0;
+ },
/**
* When changing the search term externally, update the search field to
@@ -123,10 +127,14 @@ Polymer({
},
/** @private */
- onClearSelectionTap_: function() { this.fire('unselect-all'); },
+ onClearSelectionTap_: function() {
+ this.fire('unselect-all');
+ },
/** @private */
- onDeleteTap_: function() { this.fire('delete-selected'); },
+ onDeleteTap_: function() {
+ this.fire('delete-selected');
+ },
/**
* If the user is a supervised user the delete button is not shown.
@@ -170,5 +178,7 @@ Polymer({
* @private
* @return {boolean}
*/
- isToday_: function() { return this.groupedOffset == 0; },
+ isToday_: function() {
+ return this.groupedOffset == 0;
+ },
});
« no previous file with comments | « chrome/browser/resources/md_history/history_list_behavior.js ('k') | chrome/browser/resources/md_history/list_container.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698