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

Unified Diff: tools/perf/page_sets/tough_pepper_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: fix formating 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/tough_pepper_cases/extra_data/touch_drawing_plugin.pexe ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_pepper_cases/simple_pepper_plugin.html
diff --git a/tools/perf/page_sets/tough_pepper_cases/simple_pepper_plugin.html b/tools/perf/page_sets/tough_pepper_cases/simple_pepper_plugin.html
new file mode 100644
index 0000000000000000000000000000000000000000..e8a9756df113f66c26d76a04c0cf50c117071ca0
--- /dev/null
+++ b/tools/perf/page_sets/tough_pepper_cases/simple_pepper_plugin.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+ <!--
+ Copyright 2014 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+ -->
+<head>
+
+ <title>Simple Touch Drawing Pepper Plugin</title>
+
+ <script type="text/javascript">
+ // Telemetry will wait until page and plugin module are loaded to send
+ // touch events.
+ var pageLoaded = false;
+ var moduleLoaded = false;
+
+ function moduleDidLoad() {
+ moduleLoaded = true;
+ }
+ function pageDidLoad() {
+ pageLoaded = true;
+ }
+ </script>
+</head>
+<body onload="pageDidLoad()">
+ <div id="listener">
+ <script type="text/javascript">
+ var listener = document.getElementById('listener');
+ listener.addEventListener('load', moduleDidLoad, true);
+ </script>
+
+ <embed id="touch_drawing_plugin"
+ width="640" height="640"
+ src="extra_data/touch_drawing_plugin.nmf"
+ type="application/x-pnacl" />
+ </div>
+</body>
+</html>
« no previous file with comments | « tools/perf/page_sets/tough_pepper_cases/extra_data/touch_drawing_plugin.pexe ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698