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

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

Issue 2637023002: [MD Bookmarks] Add routing. (Closed)
Patch Set: First patch fix 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..5250b7755d579128ed1cdcca5c7e4c6e744edbf8
--- /dev/null
+++ b/chrome/browser/resources/md_bookmarks/router.html
@@ -0,0 +1,13 @@
+<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>
+ <style></style>
calamity 2017/01/18 03:37:21 Ain't got no style, don't need no <style></style>
angelayang 2017/01/18 06:34:02 Done.
+ <iron-location path="{{path}}" 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