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

Unified Diff: android_webview/test/shell/assets/full_screen_video.js

Issue 639413002: [aw] Reuse WebContents PowerSaveBlocker in fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testsForPowerSaver
Patch Set: Nits 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
Index: android_webview/test/shell/assets/full_screen_video.js
diff --git a/android_webview/test/shell/assets/full_screen_video.js b/android_webview/test/shell/assets/full_screen_video.js
index 2427171007545f7c94e902a6228a40ddfbca3b0c..a619cf13bd3d8983d8e215f216ddb73916e92df0 100644
--- a/android_webview/test/shell/assets/full_screen_video.js
+++ b/android_webview/test/shell/assets/full_screen_video.js
@@ -14,12 +14,6 @@ function playVideo() {
}
addEventListener('DOMContentLoaded', function() {
- document.addEventListener('webkitfullscreenchange', function() {
- javaOnEnterFullscreen.notifyJava();
- }, false);
- document.getElementById('video').addEventListener('play', function() {
- javaOnPlayObserver.notifyJava();
- }, false);
document.addEventListener('webkitfullscreenerror', function() {
javaFullScreenErrorObserver.notifyJava();
}, false);
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | android_webview/test/shell/assets/full_screen_video_inside_div_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698