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

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

Issue 2583353003: MD History: Replace last usage of cr-shared-menu with cr-action-menu. (Closed)
Patch Set: Fix more Created 4 years 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/list_container.html
diff --git a/chrome/browser/resources/md_history/list_container.html b/chrome/browser/resources/md_history/list_container.html
index b6a3b8b8e3a3e2b6a015c5d9d06a694345bdb36f..3b53440008bcd55c80ac1106ca156a18e52ded3e 100644
--- a/chrome/browser/resources/md_history/list_container.html
+++ b/chrome/browser/resources/md_history/list_container.html
@@ -1,13 +1,14 @@
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_render.html">
<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
+<link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html">
tsergeant 2016/12/21 00:39:36 This should be lazy loaded, which means that the i
dpapad 2016/12/21 01:04:48 Done. Thanks for the explanation, I was wondering
<link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-announcer/iron-a11y-announcer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.html">
<link rel="import" href="chrome://history/browser_service.html">
<link rel="import" href="chrome://history/history_list.html">
<link rel="import" href="chrome://history/shared_style.html">
-<!-- Lazy loaded: cr-dialog, cr-shared-menu, history-grouped-list, paper-button,
+<!-- Lazy loaded: cr-dialog, cr-action-menu, history-grouped-list, paper-button,
paper-item. -->
<dom-module id="history-list-container">
@@ -62,17 +63,17 @@
</template>
<template is="cr-lazy-render" id="sharedMenu">
- <cr-shared-menu>
- <paper-item id="menuMoreButton" class="menu-item"
+ <dialog is="cr-action-menu">
+ <button id="menuMoreButton" class="dropdown-item"
on-tap="onMoreFromSiteTap_">
$i18n{moreFromSite}
- </paper-item>
- <paper-item id="menuRemoveButton" class="menu-item"
+ </button>
+ <button id="menuRemoveButton" class="dropdown-item"
disabled="[[!canDeleteHistory_()]]"
on-tap="onRemoveFromHistoryTap_">
$i18n{removeFromHistory}
- </paper-item>
- </cr-shared-menu>
+ </button>
+ </dialog>
</template>
</template>
<script src="chrome://history/list_container.js"></script>

Powered by Google App Engine
This is Rietveld 408576698