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

Unified Diff: native_client_sdk/src/examples/websocket/index.html

Issue 13488007: [NaCl SDK] Make the SDK examples buildable as a packaged app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license headers Created 7 years, 8 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
Index: native_client_sdk/src/examples/websocket/index.html
diff --git a/native_client_sdk/src/examples/websocket/index.html b/native_client_sdk/src/examples/websocket/index.html
index 2bd2b18f106c27a97acf91b8777d300a68bb7449..f077fcdc7eaabd667d9d49faecb586051833c843 100644
--- a/native_client_sdk/src/examples/websocket/index.html
+++ b/native_client_sdk/src/examples/websocket/index.html
@@ -15,10 +15,12 @@ found in the LICENSE file.
<body {{attrs}}>
<h1>{{title}}</h1>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
- <div>Set a server URL, then push "Connect" button to establish a connection.
- <br>"Send" button sends text message on the left text area.
- <br>"Close" button closes the connection.
- <div>
+ <p>The Websocket example demonstrates how to use the Websocket API.<br>
+ First set a server URL (or use the default), then push "Connect" button to
+ establish a connection.<br>
+ "Send" button sends text message on the left text area.<br>
+ "Close" button closes the connection.
+ </p>
<form id="connectForm">
<input type="text" id="url" style="width: 400px"
value="ws://html5rocks.websocket.org/echo?encoding=text">
@@ -31,7 +33,7 @@ found in the LICENSE file.
</form>
<button id="closeButton">Close</button>
+ <pre id="log" style="font-weight: bold"></pre>
<div id="listener"></div>
- <div id="log"></div>
</body>
</html>
« no previous file with comments | « native_client_sdk/src/examples/websocket/example.js ('k') | native_client_sdk/src/examples/websocket/websocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698