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

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

Issue 1265683003: MD downloads: add a narrow mode for smaller windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@paper-menu-button2
Patch Set: tommycli@ review 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
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">
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">
3 <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">
4 <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">
5 <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">
6 <link rel="import" href="chrome://resources/html/assert.html"> 9 <link rel="import" href="chrome://resources/html/assert.html">
7 <link rel="import" href="chrome://resources/html/cr.html"> 10 <link rel="import" href="chrome://resources/html/cr.html">
8 11
9 <dom-module id="downloads-toolbar"> 12 <dom-module id="downloads-toolbar">
10 <template> 13 <template>
11 <div id="title"> 14 <div id="title">
12 <h1 i18n-content="title"></h1> 15 <h1 i18n-content="title"></h1>
13 </div> 16 </div>
14 <div id="actions"> 17 <div id="actions">
15 <cr-button id="clear-all" i18n-content="clearAll" 18 <cr-button class="clear-all" i18n-content="clearAll"
16 on-click="onClearAllClick_"></cr-button> 19 on-click="onClearAllClick_"></cr-button>
17 <cr-button id="open-downloads-folder" i18n-content="openDownloadsFolder" 20 <cr-button i18n-content="openDownloadsFolder"
18 on-click="onOpenDownloadsFolderClick_"></cr-button> 21 on-click="onOpenDownloadsFolderClick_"></cr-button>
19 </div> 22 </div>
20 <div id="search"> 23 <div id="search">
21 <paper-icon-button icon="search" id="search-button" 24 <paper-icon-button icon="search" id="search-button"
22 on-click="toggleShowingSearch_"></paper-icon-button> 25 on-click="toggleShowingSearch_"></paper-icon-button>
23 <cr-input id="search-term" i18n-values="label:search" 26 <cr-input id="search-term" i18n-values="label:search"
24 hidden$="[[!showingSearch_]]" no-label-float></cr-input> 27 hidden$="[[!showingSearch_]]" no-label-float></cr-input>
25 <paper-icon-button icon="clear" id="clear-search" 28 <paper-icon-button icon="clear" id="clear-search"
26 on-click="toggleShowingSearch_" 29 on-click="toggleShowingSearch_"
27 hidden$="[[!showingSearch_]]"></paper-icon-button> 30 hidden$="[[!showingSearch_]]"></paper-icon-button>
31 <paper-menu-button horizontal-align="right">
32 <paper-icon-button icon="more-vert"
33 class="dropdown-trigger"></paper-icon-button>
34 <paper-menu class="dropdown-content">
35 <paper-item class="clear-all" i18n-content="clearAll"
36 on-click="onClearAllClick_"></paper-item>
37 <paper-item i18n-content="openDownloadsFolder"
38 on-click="onOpenDownloadsFolderClick_"></paper-item>
39 </paper-menu>
40 </paper-menu-button>
28 </div> 41 </div>
29 </template> 42 </template>
30 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> 43 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
31 <link rel="import" type="css" href="chrome://downloads/toolbar.css"> 44 <link rel="import" type="css" href="chrome://downloads/toolbar.css">
32 <script src="chrome://downloads/toolbar.js"></script> 45 <script src="chrome://downloads/toolbar.js"></script>
33 </dom-module> 46 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/toolbar.css ('k') | chrome/browser/resources/md_downloads/toolbar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698