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

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

Issue 2354193002: Revert "MD History: promote menu button to show clear browsing data in narrow mode" (Closed)
Patch Set: 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_lazy_render/cr_lazy_r ender.html">
11 <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">
12 <link rel="import" href="chrome://history/browser_service.html">
13 <link rel="import" href="chrome://history/icons.html"> 12 <link rel="import" href="chrome://history/icons.html">
14 <link rel="import" href="chrome://history/shared_style.html"> 13 <link rel="import" href="chrome://history/shared_style.html">
15 14
16 <dom-module id="history-toolbar"> 15 <dom-module id="history-toolbar">
17 <template> 16 <template>
18 <style include="shared-style"> 17 <style include="shared-style">
19 :host { 18 :host {
20 color: #fff; 19 color: #fff;
21 display: block; 20 display: block;
22 transition: background-color 150ms; 21 transition: background-color 150ms;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 text-align: right; 162 text-align: right;
164 text-overflow: ellipsis; 163 text-overflow: ellipsis;
165 white-space: nowrap; 164 white-space: nowrap;
166 } 165 }
167 166
168 :host-context([dir=rtl]) .rtl-reversible { 167 :host-context([dir=rtl]) .rtl-reversible {
169 transform: rotate(180deg); 168 transform: rotate(180deg);
170 } 169 }
171 </style> 170 </style>
172 <div id="toolbar-container"> 171 <div id="toolbar-container">
173 <cr-toolbar id="main-toolbar" 172 <cr-toolbar id="main-toolbar" page-name="$i18n{title}"
174 page-name="$i18n{title}" 173 clear-label="$i18n{clearSearch}" search-prompt="$i18n{searchPrompt}"
175 clear-label="$i18n{clearSearch}" 174 hidden$="[[itemsSelected_]]" spinner-active="[[spinnerActive]]"
176 search-prompt="$i18n{searchPrompt}" 175 show-menu="[[hasDrawer]]" menu-label="$i18n{historyMenuButton}"
177 hidden$="[[itemsSelected_]]" 176 on-search-changed="onSearchChanged_">
178 spinner-active="[[spinnerActive]]"
179 show-menu="[[hasDrawer]]"
180 show-menu-promo="[[showMenuPromo_]]"
181 menu-label="$i18n{historyMenuButton}"
182 menu-promo="$i18n{menuPromo}"
183 close-menu-promo="$i18n{closeMenuPromo}"
184 on-search-changed="onSearchChanged_"
185 on-cr-menu-promo-shown="onMenuPromoShown_">
186 <div class="more-actions"> 177 <div class="more-actions">
187 <template is="dom-if" if="[[showSyncNotice]]"> 178 <template is="dom-if" if="[[showSyncNotice]]">
188 <button is="paper-icon-button-light" id="info-button" 179 <button is="paper-icon-button-light" id="info-button"
189 on-tap="onInfoButtonTap_" 180 on-tap="onInfoButtonTap_"
190 aria-label="$i18n{hasSyncedResultsDescription}"> 181 aria-label="$i18n{hasSyncedResultsDescription}">
191 <iron-icon icon="history:info-outline" id="info-button-icon"> 182 <iron-icon icon="history:info-outline" id="info-button-icon">
192 </iron-icon> 183 </iron-icon>
193 </button> 184 </button>
194 </template> 185 </template>
195 </div> 186 </div>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 class="rtl-reversible"></paper-icon-button> 229 class="rtl-reversible"></paper-icon-button>
239 <paper-icon-button icon="cr:chevron-right" 230 <paper-icon-button icon="cr:chevron-right"
240 alt="$i18n{rangeNext}" title="$i18n{rangeNext}" 231 alt="$i18n{rangeNext}" title="$i18n{rangeNext}"
241 class="rtl-reversible"></paper-icon-button> 232 class="rtl-reversible"></paper-icon-button>
242 </div> 233 </div>
243 </div> 234 </div>
244 </template> 235 </template>
245 </template> 236 </template>
246 <script src="chrome://history/history_toolbar.js"></script> 237 <script src="chrome://history/history_toolbar.js"></script>
247 </dom-module> 238 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/compiled_resources2.gyp ('k') | chrome/browser/resources/md_history/history_toolbar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698