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