Index: content/browser/frame_host/frame_tree.h |
diff --git a/content/browser/frame_host/frame_tree.h b/content/browser/frame_host/frame_tree.h |
index 71b11c7acda0fc4f290182ff2acad41d3eec9836..3b00607cf0f4973707d6524200d14f85de413b24 100644 |
--- a/content/browser/frame_host/frame_tree.h |
+++ b/content/browser/frame_host/frame_tree.h |
@@ -146,6 +146,12 @@ class CONTENT_EXPORT FrameTree { |
// Returns true if at least one of the nodes in this FrameTree is loading. |
bool IsLoading(); |
+ // Set page-level focus in all SiteInstances involved in rendering |
+ // this FrameTree, not including the current main frame's |
+ // SiteInstance. The focus update will be sent via the main frame's proxies |
+ // in those SiteInstances. |
+ void ReplicatePageFocus(bool is_focused); |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(RenderFrameHostImplBrowserTest, RemoveFocusedFrame); |
typedef base::hash_map<int, RenderViewHostImpl*> RenderViewHostMap; |