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

Side by Side Diff: ppapi/examples/compositor/compositor.html

Issue 331123003: Revert 277208 "[PPAPI] Compositor API implementation." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/examples/compositor/compositor.cc ('k') | ppapi/examples/compositor/spinning_cube.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <!--
4 Copyright 2014 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
8 <head>
9 <title>GLES2 Spinning Cube Example</title>
10 </head>
11
12 <body>
13
14 <embed id="plugin" type="application/x-ppapi-example-compositor"
15 width="800" height="600"/> <br/>
16 Total resource: <input id="total" > <br/>
17 Free resource: <input id="free" > <br/>
18 <script type="text/javascript">
19 var plugin = document.getElementById('plugin');
20 var total = document.getElementById('total');
21 var free = document.getElementById('free');
22 plugin.addEventListener('message', function(message) {
23 total.value = message.data.total_resource;
24 free.value = message.data.free_resource;
25 }, false);
26 </script>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « ppapi/examples/compositor/compositor.cc ('k') | ppapi/examples/compositor/spinning_cube.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698