Index: third_party/WebKit/Source/web/WebViewImpl.h |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h |
index 9590b6379d7cb536c31b3b88a9273b844397dd88..8b5230c16b2fe6589ee7041573dfc660897b20c5 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.h |
+++ b/third_party/WebKit/Source/web/WebViewImpl.h |
@@ -40,6 +40,7 @@ |
#include "platform/heap/Handle.h" |
#include "public/platform/WebDisplayMode.h" |
#include "public/platform/WebFloatSize.h" |
+#include "public/platform/WebFullscreenCallbacks.h" |
#include "public/platform/WebGestureCurveTarget.h" |
#include "public/platform/WebGestureEvent.h" |
#include "public/platform/WebInputEvent.h" |
@@ -447,8 +448,8 @@ class WEB_EXPORT WebViewImpl final |
return m_fakePageScaleAnimationUseAnchor; |
} |
- void enterFullscreenForElement(Element*); |
- void exitFullscreen(LocalFrame*); |
+ void enterFullscreen(LocalFrame&, std::unique_ptr<WebFullscreenCallbacks>); |
+ void exitFullscreen(LocalFrame&); |
void fullscreenElementChanged(Element*, Element*); |
// Exposed for the purpose of overriding device metrics. |
@@ -699,7 +700,7 @@ class WEB_EXPORT WebViewImpl final |
WebGestureDevice m_flingSourceDevice; |
Vector<std::unique_ptr<LinkHighlightImpl>> m_linkHighlights; |
std::unique_ptr<CompositorAnimationTimeline> m_linkHighlightsTimeline; |
- Persistent<FullscreenController> m_fullscreenController; |
+ std::unique_ptr<FullscreenController> m_fullscreenController; |
WebColor m_baseBackgroundColor; |
WebColor m_backgroundColorOverride; |