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

Unified Diff: chrome/browser/resources/md_bookmarks/list.html

Issue 2834493006: MD Bookmarks: Pull context menu into separate element (Closed)
Patch Set: Switch back to using a Command enum Created 3 years, 8 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_bookmarks/list.html
diff --git a/chrome/browser/resources/md_bookmarks/list.html b/chrome/browser/resources/md_bookmarks/list.html
index 54f98be93b141f232245cc8944c5d89e8416718c..f3164ba219cad085dcf08b23110e5b66a6084946 100644
--- a/chrome/browser/resources/md_bookmarks/list.html
+++ b/chrome/browser/resources/md_bookmarks/list.html
@@ -1,9 +1,6 @@
<link rel="import" href="chrome://resources/html/polymer.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_render.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.html">
-<link rel="import" href="chrome://bookmarks/edit_dialog.html">
<link rel="import" href="chrome://bookmarks/item.html">
<link rel="import" href="chrome://bookmarks/shared_style.html">
<link rel="import" href="chrome://bookmarks/store_client.html">
@@ -35,18 +32,6 @@
justify-content: center;
}
</style>
- <dialog is="cr-action-menu" id="dropdown" on-mousedown="onMenuMousedown_">
- <button class="dropdown-item" on-tap="onEditTap_">
- [[getEditActionLabel_(menuItem_)]]
- </button>
- <button class="dropdown-item" on-tap="onCopyURLTap_"
- hidden$="[[!menuItem_.url]]">
- $i18n{menuCopyURL}
- </button>
- <button class="dropdown-item" on-tap="onDeleteTap_">
- $i18n{menuDelete}
- </button>
- </dialog>
<div id="bookmarksCard" hidden$="[[isEmptyList_(displayedList_.length)]]">
<template is="dom-repeat" items="[[displayedList_]]" as="id">
<bookmarks-item item-id="[[id]]" draggable="true">
@@ -57,9 +42,6 @@
hidden$="[[!isEmptyList_(displayedList_.length)]]">
[[emptyListMessage_(searchTerm_)]]
</div>
- <template is="cr-lazy-render" id="editDialog">
- <bookmarks-edit-dialog></bookmarks-edit-dialog>
- </template>
</template>
<script src="chrome://bookmarks/list.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698