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

Unified Diff: chrome/browser/resources/md_bookmarks/router.html

Issue 2637023002: [MD Bookmarks] Add routing. (Closed)
Patch Set: Id is now in the queryParam not path. Store has correct field for back/forwards navigation. 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/router.html
diff --git a/chrome/browser/resources/md_bookmarks/router.html b/chrome/browser/resources/md_bookmarks/router.html
new file mode 100644
index 0000000000000000000000000000000000000000..9ad327a2876628022d53f3f712faa2efd138b51f
--- /dev/null
+++ b/chrome/browser/resources/md_bookmarks/router.html
@@ -0,0 +1,12 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-location/iron-location.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-location/iron-query-params.html">
+
+<dom-module id="bookmarks-router">
+ <template>
+ <iron-location query="{{query}}"></iron-location>
+ <iron-query-params params-string="{{query}}"
+ params-object="{{queryParams_}}"></iron-query-params>
+ </template>
+ <script src="chrome://bookmarks/router.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698