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

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

Issue 2032313002: MD WebUI: Add loading spinner to cr-toolbar, hook into MD History toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Closure comments Created 4 years, 6 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: 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 829b44e17ffa21061a30cc9a99ac6aa93b3547cf..83e6536d4d6f4cc7ba9ad21693165900e21ba446 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js
@@ -6,6 +6,19 @@ Polymer({
is: 'cr-toolbar',
properties: {
+ // Name to display in the toolbar, in titlecase.
+ pageName: String,
+
+ // Prompt text to display in the search field.
+ searchPrompt: String,
+
+ // Tooltip to display on the clear search button.
+ clearLabel: String,
+
+ // Value is proxied through to cr-toolbar-search-field. When true,
+ // the search field will show a processing spinner.
+ spinnerActive: Boolean,
+
/** @private */
narrow_: {
type: Boolean,
@@ -17,15 +30,6 @@ Polymer({
type: Boolean,
reflectToAttribute: true,
},
-
- // Name to display in the toolbar, in titlecase.
- pageName: String,
-
- // Prompt text to display in the search field.
- searchPrompt: String,
-
- // Tooltip to display on the clear search button.
- clearLabel: String,
},
/** @return {!CrToolbarSearchFieldElement} */

Powered by Google App Engine
This is Rietveld 408576698