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

Side by Side Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js

Issue 1963503002: MD WebUI: Add shared cr-toolbar element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style review 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 Polymer({
6 is: 'cr-toolbar',
7
8 properties: {
9 /** @private */
10 narrow_: {
11 type: Boolean,
12 reflectToAttribute: true
13 },
14
15 /** @private */
16 showingSearch_: {
17 type: Boolean,
18 reflectToAttribute: true,
19 },
20
21 // Name to display in the toolbar, in titlecase.
22 pageName: String,
23
24 // Prompt text to display in the search field.
25 searchPrompt: String,
26
27 // Tooltip to display on the clear search button.
28 clearLabel: String,
29 },
30
31 /** @return {!CrToolbarSearchFieldElement} */
32 getSearchField: function() {
33 return this.$.search;
34 }
35 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698