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

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

Issue 2823053003: [MD Bookmarks] Remove the bookmarks-sidebar element. (Closed)
Patch Set: Created 3 years, 8 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/folder_node.js
diff --git a/chrome/browser/resources/md_bookmarks/folder_node.js b/chrome/browser/resources/md_bookmarks/folder_node.js
index 2800bf00f1799e4faa9737c7eb5e0599db20114e..cdca80866605f6c672c20a96a3b318ed0449ee5d 100644
--- a/chrome/browser/resources/md_bookmarks/folder_node.js
+++ b/chrome/browser/resources/md_bookmarks/folder_node.js
@@ -64,6 +64,11 @@ Polymer({
return this.$.container;
},
+ /** @return {boolean} */
+ isPositiveDepth_: function() {
+ return this.depth >= 0;
+ },
+
/**
* @private
* @return {string}

Powered by Google App Engine
This is Rietveld 408576698