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

Side by Side Diff: chrome/browser/resources/md_downloads/toolbar.html

Issue 1264113004: MD downloads: use [placeholder] instead of <label> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dl-search-x
Patch Set: Created 5 years, 4 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
« no previous file with comments | « chrome/browser/resources/md_downloads/toolbar.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h tml"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h tml">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper -menu-button.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper -menu-button.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
7 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html"> 7 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html">
8 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_input/cr_input.h tml"> 8 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_input/cr_input.h tml">
9 <link rel="import" href="chrome://resources/html/assert.html"> 9 <link rel="import" href="chrome://resources/html/assert.html">
10 <link rel="import" href="chrome://resources/html/cr.html"> 10 <link rel="import" href="chrome://resources/html/cr.html">
11 11
12 <dom-module id="downloads-toolbar"> 12 <dom-module id="downloads-toolbar">
13 <template> 13 <template>
14 <div id="title"> 14 <div id="title">
15 <h1 i18n-content="title"></h1> 15 <h1 i18n-content="title"></h1>
16 </div> 16 </div>
17 <div id="actions"> 17 <div id="actions">
18 <cr-button class="clear-all" i18n-content="clearAll" 18 <cr-button class="clear-all" i18n-content="clearAll"
19 on-click="onClearAllClick_"></cr-button> 19 on-click="onClearAllClick_"></cr-button>
20 <cr-button i18n-content="openDownloadsFolder" 20 <cr-button i18n-content="openDownloadsFolder"
21 on-click="onOpenDownloadsFolderClick_"></cr-button> 21 on-click="onOpenDownloadsFolderClick_"></cr-button>
22 </div> 22 </div>
23 <div id="search"> 23 <div id="search">
24 <paper-icon-button icon="search" id="search-button" 24 <paper-icon-button icon="search" id="search-button"
25 on-click="toggleShowingSearch_"></paper-icon-button> 25 on-click="toggleShowingSearch_"></paper-icon-button>
26 <paper-input-container id="search-term" on-search="onSearchTermSearch_" 26 <paper-input-container id="search-term" on-search="onSearchTermSearch_"
27 on-keydown="onSearchTermKeydown_" hidden$="[[!showingSearch_]]" 27 on-keydown="onSearchTermKeydown_" hidden$="[[!showingSearch_]]"
28 no-label-float> 28 no-label-float>
29 <label i18n-content="search"></label> 29 <input is="iron-input" id="search-input" type="search"
30 <input is="iron-input" id="search-input" type="search" incremental> 30 i18n-values="placeholder:search" incremental>
31 <paper-icon-button icon="clear" id="clear-search" 31 <paper-icon-button icon="clear" id="clear-search"
32 on-click="toggleShowingSearch_" 32 on-click="toggleShowingSearch_"
33 hidden$="[[!showingSearch_]]"></paper-icon-button> 33 hidden$="[[!showingSearch_]]"></paper-icon-button>
34 </paper-input-container> 34 </paper-input-container>
35 <paper-menu-button horizontal-align="right"> 35 <paper-menu-button horizontal-align="right">
36 <paper-icon-button icon="more-vert" 36 <paper-icon-button icon="more-vert"
37 class="dropdown-trigger"></paper-icon-button> 37 class="dropdown-trigger"></paper-icon-button>
38 <paper-menu class="dropdown-content"> 38 <paper-menu class="dropdown-content">
39 <paper-item class="clear-all" i18n-content="clearAll" 39 <paper-item class="clear-all" i18n-content="clearAll"
40 on-click="onClearAllClick_"></paper-item> 40 on-click="onClearAllClick_"></paper-item>
41 <paper-item i18n-content="openDownloadsFolder" 41 <paper-item i18n-content="openDownloadsFolder"
42 on-click="onOpenDownloadsFolderClick_"></paper-item> 42 on-click="onOpenDownloadsFolderClick_"></paper-item>
43 </paper-menu> 43 </paper-menu>
44 </paper-menu-button> 44 </paper-menu-button>
45 </div> 45 </div>
46 </template> 46 </template>
47 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> 47 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
48 <link rel="import" type="css" href="chrome://downloads/toolbar.css"> 48 <link rel="import" type="css" href="chrome://downloads/toolbar.css">
49 <script src="chrome://downloads/toolbar.js"></script> 49 <script src="chrome://downloads/toolbar.js"></script>
50 </dom-module> 50 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/toolbar.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698