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

Unified Diff: platform_tools/nacl/skhello/index.html

Issue 16904003: SkHello for NaCl (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 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 | « platform_tools/nacl/index.html ('k') | platform_tools/nacl/skhello/skhello.nmf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/nacl/skhello/index.html
===================================================================
--- platform_tools/nacl/skhello/index.html (revision 0)
+++ platform_tools/nacl/skhello/index.html (working copy)
@@ -8,7 +8,7 @@
-->
<head>
- <title>Skia Unit Tests</title>
+ <title>Skia Hello World</title>
<script type="text/javascript">
"use strict";
@@ -32,11 +32,7 @@
var skdebugf_cmd = "SkDebugf:";
if (message_event.data.indexOf(skdebugf_cmd) == 0) {
var msg_contents = message_event.data.slice(skdebugf_cmd.length)
- //console.log("Skia: " + msg_contents);
- var log_textarea = document.getElementById("log_textarea")
- log_textarea.value += msg_contents;
- log_textarea.scrollTop = log_textarea.scrollHeight;
- refresh(log_textarea);
+ console.log("Skia: " + msg_contents);
} else {
alert(message_event.data);
}
@@ -55,11 +51,8 @@
</head>
<body>
-<h1>Skia Unit Tests</h1>
+<h1>Skia Hello World</h1>
<p>
-<textarea id="log_textarea" rows="2" cols="2" readonly style="width:100%; height:500px; resize:none;"></textarea>
-</p>
-<p>
<div id="listener">
<script type="text/javascript">
var listener = document.getElementById('listener');
@@ -69,8 +62,8 @@
<embed name="nacl_module"
id="skia_nacl"
- width=0 height=0
- src="tests.nmf"
+ width=300 height=300
+ src="skhello.nmf"
type="application/x-nacl" />
</div>
</p>
« no previous file with comments | « platform_tools/nacl/index.html ('k') | platform_tools/nacl/skhello/skhello.nmf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698