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 70c29b0583b85f7872aebb2f8456aa84018289ef..b5f2cdc48a79b57b4416ac412eab4d67085bed3d 100644 |
--- a/content/browser/web_contents/web_contents_view_aura.h |
+++ b/content/browser/web_contents/web_contents_view_aura.h |
@@ -39,8 +39,8 @@ class WebContentsViewDelegate; |
class WebContentsImpl; |
class WebDragDestDelegate; |
-class WebContentsViewAura |
- : public WebContentsView, |
+class CONTENT_EXPORT WebContentsViewAura |
+ : NON_EXPORTED_BASE(public WebContentsView), |
public RenderViewHostDelegateView, |
public OverscrollControllerDelegate, |
public aura::WindowDelegate, |
@@ -50,6 +50,9 @@ class WebContentsViewAura |
WebContentsViewAura(WebContentsImpl* web_contents, |
WebContentsViewDelegate* delegate); |
+ // Allow the WebContentsViewDelegate to be set explicitly. |
+ void SetDelegateForTesting(WebContentsViewDelegate* delegate); |
+ |
private: |
class WindowObserver; |