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

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: Test found real subtle bug (display flex overriding [hidden] attribute) 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..409a92efcf02840702bd2983f5a7b36139d8606a 100644
--- a/chrome/browser/resources/md_history/list_container.html
+++ b/chrome/browser/resources/md_history/list_container.html
@@ -7,7 +7,7 @@
<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 +62,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>
« no previous file with comments | « chrome/browser/resources/md_history/lazy_load.vulcanized.html ('k') | chrome/browser/resources/md_history/list_container.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698