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

Side by Side Diff: chrome/browser/resources/md_bookmarks/app.html

Issue 2735953002: MD Bookmarks: Integrate new data store with UI elements (Closed)
Patch Set: calamity@ review Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://bookmarks/api_listener.html">
2 <link rel="import" href="chrome://bookmarks/list.html"> 3 <link rel="import" href="chrome://bookmarks/list.html">
3 <link rel="import" href="chrome://bookmarks/shared_vars.html"> 4 <link rel="import" href="chrome://bookmarks/shared_vars.html">
4 <link rel="import" href="chrome://bookmarks/sidebar.html"> 5 <link rel="import" href="chrome://bookmarks/sidebar.html">
5 <link rel="import" href="chrome://bookmarks/store.html"> 6 <link rel="import" href="chrome://bookmarks/store.html">
6 <link rel="import" href="chrome://bookmarks/toolbar.html"> 7 <link rel="import" href="chrome://bookmarks/toolbar.html">
8 <link rel="import" href="chrome://bookmarks/util.html">
7 9
8 <dom-module id="bookmarks-app"> 10 <dom-module id="bookmarks-app">
9 <template> 11 <template>
10 <style> 12 <style>
11 :host { 13 :host {
12 display: flex; 14 display: flex;
13 flex-direction: column; 15 flex-direction: column;
14 height: 100%; 16 height: 100%;
15 overflow: hidden; 17 overflow: hidden;
16 } 18 }
17 19
18 #main-container { 20 #main-container {
19 display: flex; 21 display: flex;
20 flex-direction: row; 22 flex-direction: row;
21 flex-grow: 1; 23 flex-grow: 1;
22 overflow: auto; 24 overflow: auto;
23 } 25 }
24 26
25 bookmarks-sidebar { 27 bookmarks-sidebar {
26 flex: 0 0 var(--sidebar-width); 28 flex: 0 0 var(--sidebar-width);
27 } 29 }
28 30
29 bookmarks-list { 31 bookmarks-list {
30 flex: 1; 32 flex: 1;
31 } 33 }
32 </style> 34 </style>
33 <bookmarks-toolbar search-term="[[searchTerm]]"></bookmarks-toolbar> 35 <bookmarks-toolbar></bookmarks-toolbar>
34 <div id="main-container"> 36 <div id="main-container">
35 <bookmarks-sidebar root-folders="[[rootNode.children]]"> 37 <bookmarks-sidebar></bookmarks-sidebar>
36 </bookmarks-sidebar> 38 <bookmarks-list></bookmarks-list>
37 <bookmarks-list displayed-list="[[displayedList]]"
38 search-term="[[searchTerm]]"></bookmarks-list>
39 </div> 39 </div>
40 <bookmarks-store selected-id="{{selectedId}}"
41 root-node="{{rootNode}}"
42 search-term="{{searchTerm}}"
43 displayed-list="{{displayedList}}">
44 </bookmarks-store>
45 </template> 40 </template>
46 <script src="chrome://bookmarks/app.js"></script> 41 <script src="chrome://bookmarks/app.js"></script>
47 </dom-module> 42 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/api_listener.js ('k') | chrome/browser/resources/md_bookmarks/app.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698