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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2495423004: Convert FullscreenController to use WebCallbacks (Closed)
Patch Set: just in case 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 | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index df6b5c3064c39466c296131328663f9907c1df9f..9aaaa21a38ca5e84aa0a7da628f88e3fe691692d 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -36,6 +36,7 @@
#include "core/dom/Document.h"
#include "core/dom/DocumentUserGestureToken.h"
#include "core/dom/Fullscreen.h"
+#include "core/dom/FullscreenCallbacks.h"
#include "core/dom/LayoutTreeBuilderTraversal.h"
#include "core/dom/Text.h"
#include "core/editing/EditingUtilities.h"
@@ -2076,8 +2077,10 @@ void WebViewImpl::themeChanged() {
view->invalidateRect(damagedRect);
}
-void WebViewImpl::enterFullscreen(LocalFrame& frame) {
- m_fullscreenController->enterFullscreen(frame);
+void WebViewImpl::enterFullscreen(
+ LocalFrame& frame,
+ std::unique_ptr<FullscreenCallbacks> callbacks) {
+ m_fullscreenController->enterFullscreen(frame, std::move(callbacks));
}
void WebViewImpl::exitFullscreen(LocalFrame& frame) {
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698