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

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js

Issue 2603443002: Clang format JS: Disallow single line functions, conditionals, loops, and switch statements (Closed)
Patch Set: update c/b/r/ as well 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: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js
index 10986a955ae881706d426895493023863a75349a..09ddc81da27e90bc73cedc0573ca8fd3e471e3ba 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js
@@ -52,13 +52,19 @@ Polymer({
],
/** @return {!CrToolbarSearchFieldElement} */
- getSearchField: function() { return this.$.search; },
+ getSearchField: function() {
+ return this.$.search;
+ },
/** @private */
- onClosePromoTap_: function() { this.fire('cr-toolbar-menu-promo-close'); },
+ onClosePromoTap_: function() {
+ this.fire('cr-toolbar-menu-promo-close');
+ },
/** @private */
- onMenuTap_: function() { this.fire('cr-toolbar-menu-tap'); },
+ onMenuTap_: function() {
+ this.fire('cr-toolbar-menu-tap');
+ },
/** @private */
possiblyShowMenuPromo_: function() {

Powered by Google App Engine
This is Rietveld 408576698