Index: content/public/browser/render_frame_host.h |
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
index a8f71fe3476e8a935a5be204b7a582b28ca37c9d..a2e497e7f07723e7a41de58ac1a367bd1231fbbc 100644 |
--- a/content/public/browser/render_frame_host.h |
+++ b/content/public/browser/render_frame_host.h |
@@ -26,6 +26,7 @@ class Value; |
namespace content { |
class RenderProcessHost; |
class RenderViewHost; |
+class RenderWidgetHostView; |
class ServiceRegistry; |
class SiteInstance; |
@@ -73,6 +74,10 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
// Returns the process for this frame. |
virtual RenderProcessHost* GetProcess() = 0; |
+ // Returns the RenderWidgetHostView that can be used to control focus and |
+ // visibility for this frame. |
+ virtual RenderWidgetHostView* GetView() = 0; |
+ |
// Returns the current RenderFrameHost of the parent frame, or nullptr if |
// there is no parent. The result may be in a different process than the |
// current RenderFrameHost. |