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

Unified Diff: android_webview/test/shell/assets/full_screen_video_test.html

Issue 639923003: [aw] Fullscreen tests for non-media elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreenNonMediaForReview
Patch Set: Add copyright notice to full_screen_video.js Created 6 years, 2 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 | « android_webview/test/shell/assets/full_screen_video_inside_div_test.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/test/shell/assets/full_screen_video_test.html
diff --git a/android_webview/test/shell/assets/full_screen_video_test.html b/android_webview/test/shell/assets/full_screen_video_test.html
index d36c546abaf0719c7e7bef3130bcbe959a84214a..4d28a9c63b305741a5ac3620b201461dfa85e4b9 100644
--- a/android_webview/test/shell/assets/full_screen_video_test.html
+++ b/android_webview/test/shell/assets/full_screen_video_test.html
@@ -1,22 +1,6 @@
<html>
<head>
-<script>
-function goFullscreen(id) {
- var element = document.getElementById(id);
- if (element.webkitRequestFullScreen) {
- element.webkitRequestFullScreen();
- }
-}
-
-addEventListener('DOMContentLoaded', function() {
- document.getElementById('video').addEventListener('play', function() {
- console.log('Video Played');
- }, false);
- document.addEventListener('webkitfullscreenerror', function() {
- javaFullScreenErrorObserver.notifyJava();
- }, false);
-}, false);
-</script>
+<script src="full_screen_video.js"></script>
</head>
<body>
</script></head><body>
« no previous file with comments | « android_webview/test/shell/assets/full_screen_video_inside_div_test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698