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

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

Issue 2592293003: [MD Bookmarks] Add skeleton for MD Bookmarks. (Closed)
Patch Set: Remove unused imports. Created 4 years 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/app.js
diff --git a/chrome/browser/resources/md_bookmarks/app.js b/chrome/browser/resources/md_bookmarks/app.js
new file mode 100644
index 0000000000000000000000000000000000000000..0d79074a5202a434071f6d0b429f198882e86a21
--- /dev/null
+++ b/chrome/browser/resources/md_bookmarks/app.js
@@ -0,0 +1,23 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+Polymer({
+ is: 'bookmarks-app',
+
+ properties: {
+ selectedId: String,
+
+ /** @type {BookmarkTreeNode} */
+ selectedNode: Object,
+
+ /** @type {BookmarkTreeNode} */
+ rootNode: Object,
+ },
+
+ /** @override */
+ attached: function() {
+ /** @type {BookmarksStoreElement} */ (this.$$('bookmarks-store'))
+ .initializeStore();
+ },
+});
« no previous file with comments | « chrome/browser/resources/md_bookmarks/app.html ('k') | chrome/browser/resources/md_bookmarks/bookmarks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698