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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 2495423004: Convert FullscreenController to use WebCallbacks (Closed)
Patch Set: rebase Created 4 years, 1 month 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/core/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index 3ee097338b203646ab39d741286a0f4ac9b84a5e..fb070173dea7b49ac9f54cc40df54ccced36ef43 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -39,6 +39,7 @@
#include "public/platform/WebDragOperation.h"
#include "public/platform/WebEventListenerProperties.h"
#include "public/platform/WebFocusType.h"
+#include "public/platform/WebFullscreenCallbacks.h"
#include "wtf/Forward.h"
#include "wtf/Optional.h"
#include "wtf/Vector.h"
@@ -245,8 +246,9 @@ class CORE_EXPORT ChromeClient : public HostWindow {
virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*,
LocalFrame* localRoot) {}
- virtual void enterFullscreenForElement(Element*) {}
- virtual void exitFullscreen(LocalFrame*) {}
+ virtual void enterFullscreen(LocalFrame&,
+ std::unique_ptr<WebFullscreenCallbacks>) {}
+ virtual void exitFullscreen(LocalFrame&) {}
virtual void fullscreenElementChanged(Element*, Element*) {}
virtual void clearCompositedSelection(LocalFrame*) {}

Powered by Google App Engine
This is Rietveld 408576698