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

Unified Diff: chrome/browser/resources/sync_internals/sync_index.html

Issue 6299002: [Sync] Port about:sync to DOMUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added workaround for bug 69633 Created 9 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
« no previous file with comments | « chrome/browser/dom_ui/sync_internals_ui.cc ('k') | chrome/browser/resources/sync_internals_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/sync_internals/sync_index.html
diff --git a/chrome/browser/sync/resources/about_sync.html b/chrome/browser/resources/sync_internals/sync_index.html
similarity index 89%
rename from chrome/browser/sync/resources/about_sync.html
rename to chrome/browser/resources/sync_internals/sync_index.html
index 6f62f5d30fb9ab9b8452c0f80d29df0291788538..212a7bf3d2016204cbbfc35281b404fa2f2a72c1 100644
--- a/chrome/browser/sync/resources/about_sync.html
+++ b/chrome/browser/resources/sync_internals/sync_index.html
@@ -1,13 +1,23 @@
-<html>
-</html>
-<html id="t">
+<!DOCTYPE HTML>
+<html i18n-values="dir:textdirection;">
<head>
-<title>About Sync</title>
+<script>
+function onLoad() {
+ chrome.send('getAboutInfo');
+}
+
+function onGetAboutInfoFinished(aboutInfo) {
+ var aboutInfoDiv = document.getElementById('aboutInfo');
+ jstProcess(new JsEvalContext(aboutInfo), aboutInfoDiv);
+}
+
+function onSyncServiceStateChanged() {
+ chrome.send('getAboutInfo');
+}
+</script>
<style type="text/css">
body {
- font-size: 84%;
- font-family: Arial, Helvetica, sans-serif;
padding: 0.75em;
margin: 0;
min-width: 45em;
@@ -64,16 +74,11 @@ div#header h1 {
color: white;
}
-.desc {
- font-size: 84%;
-}
-
.err {
color: red;
}
div#header p {
- font-size: 84%;
font-style: italic;
padding: 0;
margin: 0;
@@ -85,7 +90,6 @@ div#header p {
table.list {
line-height: 200%;
border-collapse: collapse;
- font-size: 84%;
table-layout: fixed;
}
table.list:not([class*='filtered']) tr:nth-child(odd) td {
@@ -136,10 +140,14 @@ table.list#details .name {
background-repeat: no-repeat;
}
</style>
+
</head>
-<body>
+<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"
+ onload="onLoad()">
+
+<div id='aboutInfo'>
<div id='header'>
- <h1>About Sync</h1>
+ <h1>Sync Internals</h1>
<p> Sync engine diagnostic data</p>
</div>
<div id='content'>
@@ -210,5 +218,7 @@ table.list#details .name {
</td>
</table>
</div>
+</div>
+
</body>
</html>
« no previous file with comments | « chrome/browser/dom_ui/sync_internals_ui.cc ('k') | chrome/browser/resources/sync_internals_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698