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

Unified Diff: Source/core/dom/Fullscreen.cpp

Issue 681113006: Remove keyboard event filtering in fullscreen (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: oops 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 | « Source/core/dom/Fullscreen.h ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Fullscreen.cpp
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
index 0328c519de1771cd7ca894deb4ae30f174afc5c8..bf649f1a2968d3bd717dda877a02a036df490cfe 100644
--- a/Source/core/dom/Fullscreen.cpp
+++ b/Source/core/dom/Fullscreen.cpp
@@ -161,7 +161,6 @@ bool Fullscreen::isFullScreen(Document& document)
Fullscreen::Fullscreen(Document& document)
: DocumentLifecycleObserver(&document)
- , m_areKeysEnabledInFullScreen(false)
, m_fullScreenRenderer(nullptr)
, m_eventQueueTimer(this, &Fullscreen::eventQueueTimerFired)
{
@@ -284,7 +283,6 @@ void Fullscreen::requestFullscreen(Element& element, RequestType requestType)
// 5. Return, and run the remaining steps asynchronously.
// 6. Optionally, perform some animation.
- m_areKeysEnabledInFullScreen = requestType != PrefixedMozillaRequest && requestType != PrefixedVideoRequest;
document()->frameHost()->chrome().client().enterFullScreenForElement(&element);
// 7. Optionally, display a message indicating how the user can exit displaying the context object fullscreen.
@@ -459,8 +457,6 @@ void Fullscreen::didExitFullScreenForElement(Element*)
m_fullScreenElement->setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(false);
- m_areKeysEnabledInFullScreen = false;
-
if (m_fullScreenRenderer)
m_fullScreenRenderer->unwrapRenderer();
« no previous file with comments | « Source/core/dom/Fullscreen.h ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698