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

Unified Diff: third_party/WebKit/Source/modules/vr/VRDisplay.cpp

Issue 2565203002: Add a requestFullscreen variant with a default (prefixed) type (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/modules/vr/VRDisplay.cpp
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
index 4558f62e6091fb92ba3136db4ff2bfcd45031fbc..debe0fbb00e63bdbc73428496e02b74aa827bdb2 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
@@ -490,7 +490,7 @@ void VRDisplay::beginPresent() {
new UserGestureIndicator(DocumentUserGestureToken::create(
doc, UserGestureToken::Status::PossiblyExistingGesture)));
}
- Fullscreen::requestFullscreen(*canvas, Fullscreen::UnprefixedRequest);
+ Fullscreen::requestFullscreen(*canvas);
// Check to see if the canvas is still the current fullscreen
// element once every 2 seconds.
@@ -728,7 +728,7 @@ void VRDisplay::onFullscreenCheck(TimerBase*) {
new UserGestureIndicator(DocumentUserGestureToken::create(
doc, UserGestureToken::Status::PossiblyExistingGesture)));
}
- Fullscreen::requestFullscreen(*canvas, Fullscreen::UnprefixedRequest);
+ Fullscreen::requestFullscreen(*canvas);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/html/shadow/MediaControls.cpp ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698