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

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

Issue 2610123004: [MD Bookmarks] Add a message to empty bookmark lists. (Closed)
Patch Set: Improve string description. Created 3 years, 11 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.js
diff --git a/chrome/browser/resources/md_bookmarks/list.js b/chrome/browser/resources/md_bookmarks/list.js
index ea6cb45539e6daf35c7259a9195f658457b086b7..59dda20d68f07da700f3bf358efb446b33aa2f1a 100644
--- a/chrome/browser/resources/md_bookmarks/list.js
+++ b/chrome/browser/resources/md_bookmarks/list.js
@@ -62,5 +62,10 @@ Polymer({
var menu = /** @type {!CrActionMenuElement} */ (
this.$.dropdown);
menu.close();
+ },
+
+ /** @private */
+ isListEmpty_: function() {
+ return this.selectedNode.children.length == 0;
}
});
« no previous file with comments | « chrome/browser/resources/md_bookmarks/list.html ('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