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..fff07794ed5c6059b00c2e5b74db671e4184b91c 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.h |
+++ b/third_party/WebKit/Source/web/WebViewImpl.h |
@@ -75,6 +75,7 @@ class BrowserControls; |
class DataObject; |
class DevToolsEmulator; |
class Frame; |
+class FullscreenCallbacks; |
class FullscreenController; |
class InspectorOverlay; |
class LinkHighlightImpl; |
@@ -447,8 +448,8 @@ class WEB_EXPORT WebViewImpl final |
return m_fakePageScaleAnimationUseAnchor; |
} |
- void enterFullscreenForElement(Element*); |
- void exitFullscreen(LocalFrame*); |
+ void enterFullscreen(LocalFrame&, std::unique_ptr<FullscreenCallbacks>); |
+ 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; |