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

Side by Side Diff: chrome/browser/resources/md_history/history_toolbar.html

Issue 2282403005: MD WebUI: Move history-lazy-render into cr-elements (Closed)
Patch Set: Rebase Created 4 years, 3 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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.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/polymer/v1_0/paper-tabs/paper-tab.ht ml"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-tabs/paper-tab.ht ml">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-tabs/paper-tabs.h tml"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-tabs/paper-tabs.h tml">
9 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 9 <link rel="import" href="chrome://resources/cr_elements/icons.html">
10 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html">
10 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht ml"> 11 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht ml">
11 <link rel="import" href="chrome://history/icons.html"> 12 <link rel="import" href="chrome://history/icons.html">
12 <link rel="import" href="chrome://history/lazy_render.html">
13 <link rel="import" href="chrome://history/shared_style.html"> 13 <link rel="import" href="chrome://history/shared_style.html">
14 14
15 <dom-module id="history-toolbar"> 15 <dom-module id="history-toolbar">
16 <template> 16 <template>
17 <style include="shared-style"> 17 <style include="shared-style">
18 :host { 18 :host {
19 color: #fff; 19 color: #fff;
20 display: block; 20 display: block;
21 transition: background-color 150ms; 21 transition: background-color 150ms;
22 width: 100%; 22 width: 100%;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 <template is="dom-if" if="[[showSyncNotice]]"> 171 <template is="dom-if" if="[[showSyncNotice]]">
172 <button is="paper-icon-button-light" id="info-button" 172 <button is="paper-icon-button-light" id="info-button"
173 on-tap="onInfoButtonTap_" 173 on-tap="onInfoButtonTap_"
174 aria-label="$i18n{hasSyncedResultsDescription}"> 174 aria-label="$i18n{hasSyncedResultsDescription}">
175 <iron-icon icon="history:info-outline" id="info-button-icon"> 175 <iron-icon icon="history:info-outline" id="info-button-icon">
176 </iron-icon> 176 </iron-icon>
177 </button> 177 </button>
178 </template> 178 </template>
179 </div> 179 </div>
180 </cr-toolbar> 180 </cr-toolbar>
181 <template is="history-lazy-render" id="syncNotice"> 181 <template is="cr-lazy-render" id="syncNotice">
182 <iron-dropdown vertical-align="top" horizontal-align="right" 182 <iron-dropdown vertical-align="top" horizontal-align="right"
183 allow-outside-scroll> 183 allow-outside-scroll>
184 <div class="dropdown-content"> 184 <div class="dropdown-content">
185 $i18nRaw{hasSyncedResults} 185 $i18nRaw{hasSyncedResults}
186 </div> 186 </div>
187 </iron-dropdown> 187 </iron-dropdown>
188 </template> 188 </template>
189 <template is="dom-if" if="[[itemsSelected_]]"> 189 <template is="dom-if" if="[[itemsSelected_]]">
190 <div id="overlay-wrapper" hidden$="[[!itemsSelected_]]"> 190 <div id="overlay-wrapper" hidden$="[[!itemsSelected_]]">
191 <div id="overlay-buttons"> 191 <div id="overlay-buttons">
(...skipping 30 matching lines...) Expand all
222 class="rtl-reversible"></paper-icon-button> 222 class="rtl-reversible"></paper-icon-button>
223 <paper-icon-button icon="cr:chevron-right" 223 <paper-icon-button icon="cr:chevron-right"
224 alt="$i18n{rangeNext}" title="$i18n{rangeNext}" 224 alt="$i18n{rangeNext}" title="$i18n{rangeNext}"
225 class="rtl-reversible"></paper-icon-button> 225 class="rtl-reversible"></paper-icon-button>
226 </div> 226 </div>
227 </div> 227 </div>
228 </template> 228 </template>
229 </template> 229 </template>
230 <script src="chrome://history/history_toolbar.js"></script> 230 <script src="chrome://history/history_toolbar.js"></script>
231 </dom-module> 231 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698