Index: content/browser/frame_host/render_frame_host_manager.h |
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h |
index 3a40ad73e5bc87f71b23a73a81dff4d788ad1f4c..1504c11306793a8184361b48352793d1155df547 100644 |
--- a/content/browser/frame_host/render_frame_host_manager.h |
+++ b/content/browser/frame_host/render_frame_host_manager.h |
@@ -498,6 +498,12 @@ class CONTENT_EXPORT RenderFrameHostManager { |
// an inner WebContents. |
void SetRWHViewForInnerContents(RenderWidgetHostView* child_rwhv); |
+ // Set page-level focus in all SiteInstances involved in rendering the |
+ // current FrameTree, not including the current main frame's SiteInstance. |
+ // The focus update will be sent via the main frame's proxies in those |
+ // SiteInstances. Expected to be called only on the main frame. |
+ void ReplicatePageFocus(bool is_focused); |
+ |
// Returns a copy of the map of proxy hosts. The keys are SiteInstance IDs, |
// the values are RenderFrameProxyHosts. |
std::map<int, RenderFrameProxyHost*> GetAllProxyHostsForTesting(); |