| Index: content/browser/web_contents/web_contents_view_mac.h
|
| diff --git a/content/browser/web_contents/web_contents_view_mac.h b/content/browser/web_contents/web_contents_view_mac.h
|
| index 3b34cbd77178792ae4412a274d3b2acfb2bcbc80..4141b7f55f828327b0a5f149b9070313478e4f74 100644
|
| --- a/content/browser/web_contents/web_contents_view_mac.h
|
| +++ b/content/browser/web_contents/web_contents_view_mac.h
|
| @@ -26,6 +26,7 @@
|
|
|
| namespace content {
|
| class PopupMenuHelper;
|
| +class RenderWidgetHostViewMac;
|
| class WebContentsImpl;
|
| class WebContentsViewDelegate;
|
| class WebContentsViewMac;
|
| @@ -128,6 +129,13 @@ class WebContentsViewMac : public WebContentsView,
|
| WebContentsImpl* web_contents() { return web_contents_; }
|
| WebContentsViewDelegate* delegate() { return delegate_.get(); }
|
|
|
| + using RenderWidgetHostViewCreateFunction =
|
| + RenderWidgetHostViewMac* (*)(RenderWidgetHost*, bool);
|
| +
|
| + // Used to override the creation of RenderWidgetHostViews in tests.
|
| + CONTENT_EXPORT static void InstallCreateHookForTests(
|
| + RenderWidgetHostViewCreateFunction create_render_widget_host_view);
|
| +
|
| private:
|
| // Returns the fullscreen view, if one exists; otherwise, returns the content
|
| // native view. This ensures that the view currently attached to a NSWindow is
|
|
|