Chromium Code Reviews| Index: content/browser/renderer_host/render_view_host_impl.h |
| diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h |
| index bb2013a700d8c2550b4c7b2e66bad14ad2c58442..111403cf4eb5cb9054fd3f6cc6277f9f2e4cf2af 100644 |
| --- a/content/browser/renderer_host/render_view_host_impl.h |
| +++ b/content/browser/renderer_host/render_view_host_impl.h |
| @@ -290,6 +290,10 @@ class CONTENT_EXPORT RenderViewHostImpl |
| // Creates a full screen RenderWidget. |
| void CreateNewFullscreenWidget(int route_id); |
| + // Called from a RenderFrameHostImpl when Blink requests to go fullscreen. |
| + // The |origin| is the origin of the last committed url of the frame. |
| + void EnterFullscreen(const GURL& origin); |
|
mlamouri (slow - plz ping)
2014/12/08 20:21:57
It would probably have been a better idea to go tr
Charlie Reis
2014/12/10 00:51:21
Hmm, it does seem like that would be a better opti
mlamouri (slow - plz ping)
2014/12/10 15:47:02
Done. But I had to move some things around. Render
Charlie Reis
2014/12/10 19:22:56
I agree, this is much better. And it's not a big
|
| + |
| #if defined(ENABLE_BROWSER_CDMS) |
| MediaWebContentsObserver* media_web_contents_observer() { |
| return media_web_contents_observer_.get(); |
| @@ -355,7 +359,6 @@ class CONTENT_EXPORT RenderViewHostImpl |
| void OnClose(); |
| void OnRequestMove(const gfx::Rect& pos); |
| void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); |
| - void OnToggleFullscreen(bool enter_fullscreen); |
| void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| void OnPasteFromSelectionClipboard(); |
| void OnRouteCloseEvent(); |