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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.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
Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index ad184bfc4e8c6db2cf67ebcb93854cceba6b4fc9..8e6213466b744abc5a1b64670ae8090d3dc5818b 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -36,6 +36,7 @@
#include "core/dom/AXObjectCache.h"
#include "core/dom/Document.h"
#include "core/dom/Fullscreen.h"
+#include "core/dom/FullscreenCallbacks.h"
#include "core/dom/Node.h"
#include "core/events/UIEventWithKeyState.h"
#include "core/frame/FrameHost.h"
@@ -851,8 +852,10 @@ void ChromeClientImpl::detachCompositorAnimationTimeline(
compositorTimeline);
}
-void ChromeClientImpl::enterFullscreen(LocalFrame& frame) {
- m_webView->enterFullscreen(frame);
+void ChromeClientImpl::enterFullscreen(
+ LocalFrame& frame,
+ std::unique_ptr<FullscreenCallbacks> callbacks) {
+ m_webView->enterFullscreen(frame, std::move(callbacks));
}
void ChromeClientImpl::exitFullscreen(LocalFrame& frame) {
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/FullscreenController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698