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

Unified Diff: chrome/browser/resources/md_bookmarks/item.js

Issue 2962283002: MD Bookmarks: Add 'show in folder' command to search result context menu (Closed)
Patch Set: Add MenuSource to CommandManager. Created 3 years, 5 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/item.js
diff --git a/chrome/browser/resources/md_bookmarks/item.js b/chrome/browser/resources/md_bookmarks/item.js
index 99c3faa76dc9bf4295f96fe99ea42d5cb53ba315..9abcde2c036739ff25e8dbfec9bbf7685fea79c8 100644
--- a/chrome/browser/resources/md_bookmarks/item.js
+++ b/chrome/browser/resources/md_bookmarks/item.js
@@ -78,6 +78,7 @@ Polymer({
this.fire('open-item-menu', {
x: e.clientX,
y: e.clientY,
+ source: MenuSource.LIST,
});
},
@@ -91,6 +92,7 @@ Polymer({
this.selectThisItem_();
this.fire('open-item-menu', {
targetElement: e.target,
+ source: MenuSource.LIST,
});
},
« no previous file with comments | « chrome/browser/resources/md_bookmarks/folder_node.js ('k') | chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698