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

Unified Diff: chrome/browser/resources/md_bookmarks/constants.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/constants.js
diff --git a/chrome/browser/resources/md_bookmarks/constants.js b/chrome/browser/resources/md_bookmarks/constants.js
index 2987e07db9a01e5e4cc48df04151c1da1f5dd4a0..8ff285b12e4e7dcd71d5a14bfb90ffe5a87e9538 100644
--- a/chrome/browser/resources/md_bookmarks/constants.js
+++ b/chrome/browser/resources/md_bookmarks/constants.js
@@ -22,6 +22,7 @@ var DropPosition = {
var Command = {
EDIT: 'edit',
COPY_URL: 'copy-url',
+ SHOW_IN_FOLDER: 'show-in-folder',
DELETE: 'delete',
OPEN_NEW_TAB: 'open-new-tab',
OPEN_NEW_WINDOW: 'open-new-window',
@@ -37,6 +38,16 @@ var Command = {
PASTE: 'paste',
};
+/**
+ * @enum {number}
+ * @const
+ */
+var MenuSource = {
+ NONE: 0,
+ LIST: 1,
+ TREE: 2,
+};
+
/**
* Mirrors the C++ enum from IncognitoModePrefs.
* @enum {number}
« no previous file with comments | « chrome/browser/resources/md_bookmarks/command_manager.js ('k') | chrome/browser/resources/md_bookmarks/folder_node.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698