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

Unified Diff: experimental/webtry/templates/index.html

Issue 242613005: iframe (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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: experimental/webtry/templates/index.html
diff --git a/experimental/webtry/templates/index.html b/experimental/webtry/templates/index.html
index c79dc124c027612ecbcb7bd67ea31f68cd841ff5..b3f6b8f024e5e1e696f614da1c2200d8c4084885 100644
--- a/experimental/webtry/templates/index.html
+++ b/experimental/webtry/templates/index.html
@@ -11,14 +11,18 @@
<pre><code>#include "SkCanvas.h"
void draw(SkCanvas* canvas) {
- <textarea name='code' id='code' rows='15' cols='80'>{{.UserCode}}</textarea>
+ <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.UserCode}}</textarea>
}
</code></pre>
<input type='button' value='Run' id='run'>
- <p>Image appears here:</p>
+ <input type='button' value='Embed' id='embedButton' disabled/>
+ <input type="text" value="" id="embed" readonly style="display:none;">
+
+ <p>
<img id='img' src=''/>
+ </p>
<pre><code id='output'></code></pre>
@@ -27,6 +31,6 @@ void draw(SkCanvas* canvas) {
// Not running in a workspace.
var workspaceName = "";
</script>
- <script src="/js/run.js" type="text/javascript" charset="utf-8"></script>
+ <script src="/js/" type="text/javascript" charset="utf-8"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698