Index: content/browser/frame_host/cross_process_frame_connector.h |
diff --git a/content/browser/frame_host/cross_process_frame_connector.h b/content/browser/frame_host/cross_process_frame_connector.h |
index 9958c9e7720c6a551b88cf86681ca1bb458aa7e2..f42466ff956fb69678738cc8555c67e1ae916268 100644 |
--- a/content/browser/frame_host/cross_process_frame_connector.h |
+++ b/content/browser/frame_host/cross_process_frame_connector.h |
@@ -100,6 +100,11 @@ class CONTENT_EXPORT CrossProcessFrameConnector { |
// page) has focus. |
bool HasFocus(); |
+ // Exposed for tests. |
+ RenderWidgetHostViewBase* GetRootRenderWidgetHostViewForTesting() { |
+ return GetRootRenderWidgetHostView(); |
+ } |
+ |
private: |
// Handlers for messages received from the parent frame. |
void OnForwardInputEvent(const blink::WebInputEvent* event); |