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

Unified Diff: content/test/data/fullscreen_frame.html

Issue 1997413003: Revert of Add support for entering/exiting HTML fullscreen from OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « content/renderer/render_frame_proxy.cc ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/fullscreen_frame.html
diff --git a/content/test/data/fullscreen_frame.html b/content/test/data/fullscreen_frame.html
deleted file mode 100644
index 38688dc0d17bc98043a9a9338220b52ac5e30ca1..0000000000000000000000000000000000000000
--- a/content/test/data/fullscreen_frame.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-
-var expectedWidth, expectedHeight;
-
-function onResize() {
- if (window.innerWidth == expectedWidth && window.innerHeight == expectedHeight) {
- domAutomationController.setAutomationId(0);
- domAutomationController.send("resize");
- removeResizeListener();
- }
-}
-
-function addResizeListener(width, height) {
- expectedWidth = width;
- expectedHeight = height;
- window.addEventListener('resize', onResize);
-}
-
-function removeResizeListener() {
- window.removeEventListener('resize', onResize);
-}
-
-function activateFullscreen() {
- document.getElementById("fullscreen-div").webkitRequestFullscreen();
-}
-
-function exitFullscreen() {
- document.webkitExitFullscreen();
-}
-
-</script>
-</head>
-<body>
-
-<div>This page contains a div that will go fullscreen</div>
-
-<div id="fullscreen-div" style="border: 1px solid black;">
- This div will go fullscreen
-</div>
-
-<iframe id="child-0" srcdoc="This should not go fullscreen"></iframe>
-
-</body>
-</html>
-
« no previous file with comments | « content/renderer/render_frame_proxy.cc ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698