Index: content/browser/web_contents/web_contents_view_aura.h |
diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h |
index 2e7beabcc430566b546db43be8b34d9969a97866..1dcf13c606ab6a87c78b8fa43f18967cfaa194ae 100644 |
--- a/content/browser/web_contents/web_contents_view_aura.h |
+++ b/content/browser/web_contents/web_contents_view_aura.h |
@@ -60,6 +60,13 @@ class CONTENT_EXPORT WebContentsViewAura |
init_rwhv_with_null_parent_for_testing_ = set; |
} |
+ using RenderWidgetHostViewCreateFunction = |
+ RenderWidgetHostViewAura* (*)(RenderWidgetHost*, bool); |
+ |
+ // Used to override the creation of RenderWidgetHostViews in tests. |
+ static void InstallCreateHookForTests( |
+ RenderWidgetHostViewCreateFunction create_render_widget_host_view); |
+ |
private: |
class WindowObserver; |