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

Unified Diff: third_party/WebKit/Source/core/dom/ElementFullscreen.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Fullscreen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ElementFullscreen.cpp
diff --git a/third_party/WebKit/Source/core/dom/ElementFullscreen.cpp b/third_party/WebKit/Source/core/dom/ElementFullscreen.cpp
index f83acfeb59e9339bf80c5e5dbb06516bfb545916..56d207c64469e39052250120e571ba84cfdf1a15 100644
--- a/third_party/WebKit/Source/core/dom/ElementFullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/ElementFullscreen.cpp
@@ -10,14 +10,14 @@
namespace blink {
void ElementFullscreen::requestFullscreen(Element& element) {
- Fullscreen::requestFullscreen(element, Fullscreen::UnprefixedRequest);
+ Fullscreen::requestFullscreen(element, Fullscreen::RequestType::Unprefixed);
}
void ElementFullscreen::webkitRequestFullscreen(Element& element) {
if (element.isInShadowTree())
UseCounter::count(element.document(),
UseCounter::PrefixedElementRequestFullscreenInShadow);
- Fullscreen::requestFullscreen(element, Fullscreen::PrefixedRequest);
+ Fullscreen::requestFullscreen(element, Fullscreen::RequestType::Prefixed);
}
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Fullscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698