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 3b00607cf0f4973707d6524200d14f85de413b24..56c10992a9ca17b26584ff6d087d190390ef62fd 100644 |
--- a/content/browser/frame_host/frame_tree.h |
+++ b/content/browser/frame_host/frame_tree.h |
@@ -152,6 +152,10 @@ class CONTENT_EXPORT FrameTree { |
// in those SiteInstances. |
void ReplicatePageFocus(bool is_focused); |
+ // Updates page-level focus for this FrameTree in the subframe renderer |
+ // identified by |instance|. |
+ void SetPageFocus(SiteInstance* instance, bool is_focused); |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(RenderFrameHostImplBrowserTest, RemoveFocusedFrame); |
typedef base::hash_map<int, RenderViewHostImpl*> RenderViewHostMap; |