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

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: Add todo and fix nits 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 narrow_: {
dpapad 2016/05/26 00:42:52 /** @private */
tsergeant 2016/05/26 01:34:52 Done.
10 type: Boolean,
11 reflectToAttribute: true
12 },
13 showingSearch_: {
dpapad 2016/05/26 00:42:52 Blank line between polymer properties. Also add @
tsergeant 2016/05/26 01:34:52 Done.
14 type: Boolean,
15 reflectToAttribute: true,
16 },
17 // Name to display in the toolbar, in titlecase.
18 pageName: String,
19 // Prompt text to display in the search field.
20 searchPrompt: String,
21 // Tooltip to display on the clear search button.
22 clearLabel: String,
23 },
24
25 /** @return {CrToolbarSearchFieldElement} */
dpapad 2016/05/26 00:42:52 !CrToolbarSearchFieldElement
tsergeant 2016/05/26 01:34:52 Done.
26 getSearchField: function() {
27 return this.$.search;
28 }
29 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698