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

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

Issue 2777503002: [MD Bookmarks] Deselect items when clicking outside the bookmark card. (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_bookmarks/item.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_bookmarks/actions.js
diff --git a/chrome/browser/resources/md_bookmarks/actions.js b/chrome/browser/resources/md_bookmarks/actions.js
index 62a0ba82994ce578970a535b3acf4482ec4387d2..9c4915150b1d845f8b5db4d86dbf00f25aae0253 100644
--- a/chrome/browser/resources/md_bookmarks/actions.js
+++ b/chrome/browser/resources/md_bookmarks/actions.js
@@ -98,6 +98,13 @@ cr.define('bookmarks.actions', function() {
};
}
+ /** @return {!Action} */
+ function deselectItems() {
+ return {
+ name: 'deselect-items',
+ };
+ }
+
/**
* @param {string} id
* @param {boolean} add
@@ -164,6 +171,7 @@ cr.define('bookmarks.actions', function() {
return {
changeFolderOpen: changeFolderOpen,
clearSearch: clearSearch,
+ deselectItems: deselectItems,
editBookmark: editBookmark,
moveBookmark: moveBookmark,
refreshNodes: refreshNodes,
« no previous file with comments | « no previous file | chrome/browser/resources/md_bookmarks/item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698