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

Unified Diff: chrome/browser/resources/copresence.html

Issue 734243003: Adding the chrome://copresence page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@state
Patch Set: Created 6 years 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/copresence.html
diff --git a/chrome/browser/resources/copresence.html b/chrome/browser/resources/copresence.html
new file mode 100644
index 0000000000000000000000000000000000000000..4e7d513dfd1971d6e99942800b700ea9f9f328ec
--- /dev/null
+++ b/chrome/browser/resources/copresence.html
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML>
Dan Beam 2014/12/09 05:33:38 nit: lowercase
Charlie 2014/12/17 23:39:55 Done. The example in the Chromium style guide is u
+<html i18n-values="dir:textdirection;">
+
+<head>
+ <meta charset="utf-8">
+ <title i18n-content="title"></title>
+ <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
+ <link rel="stylesheet" href="chrome://copresence/copresence.css">
+</head>
+
+<body>
+ <header>
+ <h1 i18n-content="title"></h1>
+ </header>
+
+ <main>
+ <section>
+ <h2 i18n-content="directives_title"></h2>
+ <table class="directives" id="directives-table">
+ <thead>
+ <tr>
+ <td i18n-content="directive_type">
+ <td i18n-content="token_medium">
+ <td i18n-content="duration">
+ <td class="spacer">
+ <tbody>
+ </table>
+ </section>
+
+ <section>
+ <h2 i18n-content="sent_tokens_title"></h2>
+ <table class="tokens" id="sent-tokens-table">
+ <thead>
+ <tr>
+ <td i18n-content="token_id">
+ <td i18n-content="token_status">
+ <td i18n-content="token_medium">
+ <td i18n-content="token_send_time">
+ <td class="spacer">
+ <tbody>
+ </table>
+ </section>
+
+ <section>
+ <h2 i18n-content="received_tokens_title"></h2>
+ <table class="tokens" id="received-tokens-table">
+ <thead>
+ <tr>
+ <td i18n-content="token_id">
+ <td i18n-content="token_status">
+ <td i18n-content="token_medium">
+ <td i18n-content="token_receive_time">
+ <td class="spacer">
+ <tbody>
+ </table>
+ </section>
+
+ <!-- TODO(ckehoe): Add server calls. -->
+
+ <!-- TODO(ckehoe): Add GCM pings. -->
+
+ </main>
+
+</body>
+
+<script src="chrome://resources/js/load_time_data.js"></script>
+<script src="chrome://resources/js/util.js"></script>
+<script src="chrome://copresence/copresence.js"></script>
+<script src="chrome://copresence/strings.js"></script>
+<script src="chrome://resources/js/i18n_template2.js"></script>
Dan Beam 2014/12/09 05:33:38 nit: put just before </body>
Charlie 2014/12/17 23:39:55 Done.
+
+</html>

Powered by Google App Engine
This is Rietveld 408576698