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

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
« no previous file with comments | « chrome/browser/resources/copresence.css ('k') | chrome/browser/resources/copresence.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a9f8e54716ffe0a817bdf57feb2b8f20014adf9a
--- /dev/null
+++ b/chrome/browser/resources/copresence.html
@@ -0,0 +1,71 @@
+<!doctype html>
+<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="transmitted_tokens_title"></h2>
+ <table class="tokens" id="transmitted-tokens-table">
+ <thead>
+ <tr>
+ <td i18n-content="token_id">
+ <td i18n-content="token_status">
+ <td i18n-content="token_medium">
+ <td i18n-content="token_transmit_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>
+
+ <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>
+</body>
+
+</html>
« no previous file with comments | « chrome/browser/resources/copresence.css ('k') | chrome/browser/resources/copresence.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698