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

Unified Diff: ppapi/example/example.html

Issue 10697022: Delete the PPAPI example plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: ppapi/example/example.html
diff --git a/ppapi/example/example.html b/ppapi/example/example.html
index 7faf8f9f09f6be3996c65bac4b9f8f270c7d02f5..eed6bc57703482ac329a28ec9f8072cd7cfb159a 100644
--- a/ppapi/example/example.html
+++ b/ppapi/example/example.html
@@ -5,22 +5,11 @@
<script type="text/javascript">
isPluginDefaultSize = true;
-function Test() {
- var plugin = document.getElementById('plugin');
- // Confirm that this no longer segfaults.
- alert(plugin.toString(new Array(10)));
-
- // Confirm that the renderer doesn't crash when the plugin module goes away
- // while waiting for the reply to the HasPropery sync message.
- plugin.removePluginWhenHasPropertyCalled;
-}
-
function SetPluginSize(width, height) {
plugin = document.getElementById('plugin');
size = document.getElementById('size');
plugin.width = width;
plugin.height = height;
- size.innerHTML = "Height: " + plugin.height + ' Width: ' + plugin.width;
}
function ToggleSize() {
@@ -34,10 +23,6 @@ function ToggleSize() {
}
</script>
- <button onclick='Test()'>Test</button>
- <button onclick='ToggleSize()'>Toggle Size</button>
- <div id="fps" style="background-color:white; font-weight:bold; padding:4px; width:200px;">FPS GOES HERE</div>
- <div id="size" style="background-color:white; font-weight:bold; padding:4px; width:200px;"></div>
+ <button onclick='ToggleSize()'>Toggle Size</button><br>
<object id="plugin" type="application/x-ppapi-example" width="400" height="400" border="2px"></object>
- <hr>
</body>
« ppapi/example/example.cc ('K') | « ppapi/example/example.cc ('k') | ppapi/ppapi_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698