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

Side by Side Diff: tools/perf/page_sets/tough_scheduling_cases/simple_pepper_plugin.html

Issue 300413002: Add simple pepper plugin telemetry test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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
10 <title>Simple Touch Drawing Pepper Plugin</title>
11
12 <script type="text/javascript">
13 // Telemetry will wait until page and plugin module are loaded to send
14 // touch events.
15 var pageLoaded = false;
16 var moduleLoaded = false;
17
18 function moduleDidLoad() {
19 moduleLoaded = true;
20 }
21 function pageDidLoad() {
22 pageLoaded = true;
23 }
24 </script>
25 </head>
26 <body onload="pageDidLoad()">
27 <div id="listener">
28 <script type="text/javascript">
29 var listener = document.getElementById('listener');
30 listener.addEventListener('load', moduleDidLoad, true);
Rick Byers 2014/05/29 03:28:09 you could put the load handler directly on touch_d
Yufeng Shen (Slow to review) 2014/05/29 18:29:20 Done.
31 </script>
32
33 <embed id="touch_drawing_plugin"
34 width="640" height="640"
35 src="extra_data/touch_drawing_plugin.nmf"
36 type="application/x-pnacl" />
37 </div>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698