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

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

Issue 2758703002: [WIP] MD Bookmarks Drag and Drop. (Closed)
Patch Set: 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
Index: chrome/browser/resources/md_bookmarks/util.js
diff --git a/chrome/browser/resources/md_bookmarks/util.js b/chrome/browser/resources/md_bookmarks/util.js
index bf20a151c1246529fcb4ca5c327e84df876066ce..7ea056e794c77107cdb84367418fcd2d3eb61d68 100644
--- a/chrome/browser/resources/md_bookmarks/util.js
+++ b/chrome/browser/resources/md_bookmarks/util.js
@@ -67,9 +67,14 @@ cr.define('bookmarks.util', function() {
};
}
+ function isShowingSearch(state) {
+ return !state.selectedFolder;
+ }
+
return {
createEmptyState: createEmptyState,
getDisplayedList: getDisplayedList,
+ isShowingSearch: isShowingSearch,
normalizeNodes: normalizeNodes,
};
});
« no previous file with comments | « chrome/browser/resources/md_bookmarks/types.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