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

Unified Diff: chrome/browser/resources/net_internals/index.html

Issue 1036001: Add a DOMUI datasource that will handle the net-internals page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address mbelshe comments Created 10 years, 9 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/net_internals_ui.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/index.html
===================================================================
--- chrome/browser/resources/net_internals/index.html (revision 0)
+++ chrome/browser/resources/net_internals/index.html (revision 0)
@@ -0,0 +1,32 @@
+<html>
+ <head>
+ <title>Under construction...</title>
+ <script>
+
+// TODO(eroman): This is all temporary...
+
+function sendTestMessageToBrowser() {
+ log("Sent message to browser");
+ chrome.send('testMessage', [String((new Date()).toLocaleTimeString())]);
+}
+
+function log(msg) {
+ var l = document.getElementById('log');
+ l.appendChild(document.createTextNode(msg + "\n"));
+}
+
+ </script>
+ </head>
+
+
+ <body>
+ <p>This is a work in progress. See http://crbug.com/37421 for details.</p>
+
+ <input onclick="sendTestMessageToBrowser()"
+ value="SendTestMessageToBrowser"
+ type=button />
+
+ <pre id=log></pre>
+
+ </body>
+</html>
Property changes on: chrome\browser\resources\net_internals\index.html
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/dom_ui/net_internals_ui.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698