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

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: asdf Created 4 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 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 736792b3b87f0c0bbc1e4ecf262e0440c0ed3c8e..26804ab8ac445b72828a2ff2c24b34066c881985 100644
--- a/chrome/browser/resources/md_history/history_toolbar.html
+++ b/chrome/browser/resources/md_history/history_toolbar.html
@@ -5,6 +5,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/paper-tabs/paper-tabs.html">
<link rel="import" href="chrome://resources/cr_elements/icons.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">
@@ -129,7 +130,9 @@
clear-label="$i18n{clearSearch}" search-prompt="$i18n{searchPrompt}"
hidden$="[[itemsSelected_]]" spinner-active="[[spinnerActive]]"
show-menu="[[hasDrawer]]" menu-label="$i18n{historyMenuButton}"
- on-search-changed="onSearchChanged_">
+ on-search-changed="onSearchChanged_"
+ menu-promo="$i18n{menuPromo}" show-menu-promo="[[showMenuPromo_]]"
+ on-cr-menu-promo-shown="onMenuPromoShown_">
</cr-toolbar>
<template is="dom-if" if="[[itemsSelected_]]">
<div id="overlay-wrapper" hidden$="[[!itemsSelected_]]">

Powered by Google App Engine
This is Rietveld 408576698