OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html i18n-values="dir:textdirection;"> | 2 <html i18n-values="dir:textdirection;"> |
3 <head> | 3 <head> |
4 <!-- If you change the title, make sure you also update | 4 <!-- If you change the title, make sure you also update |
5 chrome/test/functional/special_tabs.py. --> | 5 chrome/test/functional/special_tabs.py. --> |
6 <title>Sync Internals</title> | 6 <title>Sync Internals</title> |
| 7 <link rel="stylesheet" href="chrome://resources/css/list.css"> |
7 <link rel="stylesheet" href="chrome://resources/css/tabs.css"> | 8 <link rel="stylesheet" href="chrome://resources/css/tabs.css"> |
8 <link rel="stylesheet" href="chrome://resources/css/tree.css"> | 9 <link rel="stylesheet" href="chrome://resources/css/tree.css"> |
| 10 <link rel="stylesheet" href="sync_search.css"> |
9 <link rel="stylesheet" href="sync_node_browser.css"> | 11 <link rel="stylesheet" href="sync_node_browser.css"> |
10 | 12 |
11 <script src="chrome://resources/css/tree.css.js"></script> | 13 <script src="chrome://resources/css/tree.css.js"></script> |
12 | 14 |
13 <script src="chrome://resources/js/cr.js"></script> | 15 <script src="chrome://resources/js/cr.js"></script> |
14 <script src="chrome://resources/js/cr/event_target.js"></script> | 16 <script src="chrome://resources/js/cr/event_target.js"></script> |
15 <script src="chrome://resources/js/cr/ui.js"></script> | 17 <script src="chrome://resources/js/cr/ui.js"></script> |
16 <script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script> | 18 <script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script> |
17 <script src="chrome://resources/js/cr/ui/splitter.js"></script> | 19 <script src="chrome://resources/js/cr/ui/splitter.js"></script> |
| 20 |
| 21 <!-- List stuff. --> |
| 22 <script src="chrome://resources/js/cr/ui/array_data_model.js"></script> |
| 23 <script src="chrome://resources/js/cr/ui/list_item.js"></script> |
| 24 <script src="chrome://resources/js/cr/ui/list_selection_controller.js"></script> |
| 25 <script src="chrome://resources/js/cr/ui/list_selection_model.js"></script> |
| 26 <script src="chrome://resources/js/cr/ui/list.js"></script> |
| 27 |
18 <script src="chrome://resources/js/cr/ui/tabs.js"></script> | 28 <script src="chrome://resources/js/cr/ui/tabs.js"></script> |
19 <script src="chrome://resources/js/cr/ui/tree.js"></script> | 29 <script src="chrome://resources/js/cr/ui/tree.js"></script> |
| 30 <script src="chrome://resources/js/util.js"></script> |
20 <script src="chrome_sync.js"></script> | 31 <script src="chrome_sync.js"></script> |
21 <script src="sync_log.js"></script> | 32 <script src="sync_log.js"></script> |
22 <script src="sync_node_browser.js"></script> | 33 <script src="sync_node_browser.js"></script> |
| 34 <script src="sync_search.js"></script> |
23 </head> | 35 </head> |
24 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | 36 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
25 | 37 |
26 <style> | 38 <style> |
27 #sync-page { | 39 #sync-page { |
28 /* TODO(akalin): Figure out a better way to make the tab box the | 40 /* TODO(akalin): Figure out a better way to make the tab box the |
29 same height no matter which tab is selected. */ | 41 same height no matter which tab is selected. */ |
30 min-height: 650px; | 42 min-height: 650px; |
31 } | 43 } |
32 </style> | 44 </style> |
33 | 45 |
34 <tabbox id="sync-page"> | 46 <tabbox id="sync-page"> |
35 <tabs> | 47 <tabs> |
36 <tab>About</tab> | 48 <tab>About</tab> |
37 <tab>Data</tab> | 49 <tab>Data</tab> |
38 <tab>Notifications</tab> | 50 <tab>Notifications</tab> |
39 <tab>Events</tab> | 51 <tab>Events</tab> |
40 <tab>Sync Node Browser</tab> | 52 <tab>Sync Node Browser</tab> |
| 53 <tab>Search</tab> |
41 </tabs> | 54 </tabs> |
42 <tabpanels> | 55 <tabpanels> |
43 <tabpanel> | 56 <tabpanel> |
44 <include src="about.html" /> | 57 <include src="about.html" /> |
45 </tabpanel> | 58 </tabpanel> |
46 <tabpanel> | 59 <tabpanel> |
47 <include src="data.html" /> | 60 <include src="data.html" /> |
48 </tabpanel> | 61 </tabpanel> |
49 <tabpanel> | 62 <tabpanel> |
50 <include src="notifications.html" /> | 63 <include src="notifications.html" /> |
51 </tabpanel> | 64 </tabpanel> |
52 <tabpanel> | 65 <tabpanel> |
53 <include src="events.html" /> | 66 <include src="events.html" /> |
54 </tabpanel> | 67 </tabpanel> |
55 <tabpanel> | 68 <tabpanel> |
56 <include src="sync_node_browser.html" /> | 69 <include src="sync_node_browser.html" /> |
57 </tabpanel> | 70 </tabpanel> |
| 71 <tabpanel> |
| 72 <include src="search.html" /> |
| 73 </tabpanel> |
58 </tabpanels> | 74 </tabpanels> |
59 </tabbox> | 75 </tabbox> |
60 | 76 |
61 <script> | 77 <script> |
| 78 // Allow platform specific CSS rules. |
| 79 // |
| 80 // TODO(akalin): BMM and options page does something similar, too. |
| 81 // Move this to util.js. |
| 82 if (cr.isWindows) |
| 83 document.documentElement.setAttribute('os', 'win'); |
| 84 |
62 cr.ui.decorate('tabbox', cr.ui.TabBox); | 85 cr.ui.decorate('tabbox', cr.ui.TabBox); |
63 </script> | 86 </script> |
64 | 87 |
65 </body> | 88 </body> |
66 </html> | 89 </html> |
OLD | NEW |