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

Side by Side Diff: tests/ppapi_proxy/event_example.html

Issue 6452010: Remove the x-ppapi-nacl-srpc and x-nacl-srpc mime types in favor of the singl... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 10 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 | « tests/ppapi_proxy/basic_object.html ('k') | tests/ppapi_proxy/event_example.stdin » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2010 The Native Client Authors. All rights reserved. 4 Copyright (c) 2010 The Native Client Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head> 8 <head>
9 <title>PPAPI InputEvent test</title> 9 <title>PPAPI InputEvent test</title>
10 10
(...skipping 19 matching lines...) Expand all
30 } 30 }
31 } 31 }
32 </script> 32 </script>
33 </head> 33 </head>
34 <body> 34 <body>
35 <h1>InputEvent Handling Example</h1> 35 <h1>InputEvent Handling Example</h1>
36 <embed name="nacl_module" 36 <embed name="nacl_module"
37 id="event_module" 37 id="event_module"
38 width=400 height=400 38 width=400 height=400
39 src="ppapi_event_example.nexe" 39 src="ppapi_event_example.nexe"
40 type="application/x-ppapi-nacl-srpc" 40 type="application/x-nacl"
41 style="background-color:gray" 41 style="background-color:gray"
42 onload="moduleDidLoad();" /> 42 onload="moduleDidLoad();" />
43 <p> 43 <p>
44 This example demonstrates input events in ppapi. Each time an input event 44 This example demonstrates input events in ppapi. Each time an input event
45 happens in the context of the gray box, the embedded NaCl module prints a 45 happens in the context of the gray box, the embedded NaCl module prints a
46 message describing the event to the shell where you started your Browser. 46 message describing the event to the shell where you started your Browser.
47 Alternatively, you can click the "Get Events" button to display 47 Alternatively, you can click the "Get Events" button to display
48 all input events that have happened since the last time you clicked the 48 all input events that have happened since the last time you clicked the
49 button. 49 button.
50 </p> 50 </p>
51 <form name="event_form" action="" method="get"> 51 <form name="event_form" action="" method="get">
52 <input type="button" value="Get Events" onclick="getEvents()"/> 52 <input type="button" value="Get Events" onclick="getEvents()"/>
53 </form> 53 </form>
54 54
55 <h2>Recent Events (press button to update):</h2> 55 <h2>Recent Events (press button to update):</h2>
56 <pre id=event_dump> 56 <pre id=event_dump>
57 no events 57 no events
58 </pre> 58 </pre>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW
« no previous file with comments | « tests/ppapi_proxy/basic_object.html ('k') | tests/ppapi_proxy/event_example.stdin » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698