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

Unified Diff: chrome/browser/resources/md_history/history_toolbar.html

Issue 2280513002: MD History: promote menu button to show clear browsing data in narrow mode (Closed)
Patch Set: merge 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_history/history_toolbar.html
diff --git a/chrome/browser/resources/md_history/history_toolbar.html b/chrome/browser/resources/md_history/history_toolbar.html
index 8771603958a7cd2e4984c2742f01380d421cb199..00e258676a451b77fa4ce4b3408fe426671dee43 100644
--- a/chrome/browser/resources/md_history/history_toolbar.html
+++ b/chrome/browser/resources/md_history/history_toolbar.html
@@ -9,6 +9,7 @@
<link rel="import" href="chrome://resources/cr_elements/icons.html">
<link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_render.html">
<link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.html">
+<link rel="import" href="chrome://history/browser_service.html">
<link rel="import" href="chrome://history/icons.html">
<link rel="import" href="chrome://history/shared_style.html">
@@ -169,11 +170,19 @@
}
</style>
<div id="toolbar-container">
- <cr-toolbar id="main-toolbar" page-name="$i18n{title}"
- clear-label="$i18n{clearSearch}" search-prompt="$i18n{searchPrompt}"
- hidden$="[[itemsSelected_]]" spinner-active="[[spinnerActive]]"
- show-menu="[[hasDrawer]]" menu-label="$i18n{historyMenuButton}"
- on-search-changed="onSearchChanged_">
+ <cr-toolbar id="main-toolbar"
+ page-name="$i18n{title}"
+ clear-label="$i18n{clearSearch}"
+ search-prompt="$i18n{searchPrompt}"
+ hidden$="[[itemsSelected_]]"
+ spinner-active="[[spinnerActive]]"
+ show-menu="[[hasDrawer]]"
+ show-menu-promo="[[showMenuPromo_]]"
+ menu-label="$i18n{historyMenuButton}"
+ menu-promo="$i18n{menuPromo}"
+ close-menu-promo="$i18n{closeMenuPromo}"
+ on-search-changed="onSearchChanged_"
+ on-cr-menu-promo-shown="onMenuPromoShown_">
Pam (message me for reviews) 2016/09/21 04:44:12 Yay readability! :)
Dan Beam 2016/09/21 06:09:42 except for this one :) which we made pretty
<div class="more-actions">
<template is="dom-if" if="[[showSyncNotice]]">
<button is="paper-icon-button-light" id="info-button"

Powered by Google App Engine
This is Rietveld 408576698