Index: content/browser/renderer_host/render_view_host_impl.h |
=================================================================== |
--- content/browser/renderer_host/render_view_host_impl.h (revision 254898) |
+++ content/browser/renderer_host/render_view_host_impl.h (working copy) |
@@ -156,6 +156,7 @@ |
// RenderViewHost implementation. |
virtual RenderFrameHost* GetMainFrame() OVERRIDE; |
+ virtual RenderFrameHost* GetFocusedFrame() OVERRIDE; |
virtual void AllowBindings(int binding_flags) OVERRIDE; |
virtual void ClearFocusedElement() OVERRIDE; |
virtual void ClosePage() OVERRIDE; |
@@ -581,6 +582,7 @@ |
void OnTargetDropACK(); |
void OnTakeFocus(bool reverse); |
void OnFocusedNodeChanged(bool is_editable_node); |
+ void OnFocusedFrameChanged(int focused_frame_routing_id); |
void OnAddMessageToConsole(int32 level, |
const base::string16& message, |
int32 line_no, |
@@ -673,6 +675,9 @@ |
// Routing ID for the main frame's RenderFrameHost. |
int main_frame_routing_id_; |
+ // Routing ID for the focused frame's RenderFrameHost. |
+ int focused_frame_routing_id_; |
+ |
// Set to true when there is a pending ViewMsg_ShouldClose message. This |
// ensures we don't spam the renderer with multiple beforeunload requests. |
// When either this value or IsWaitingForUnloadACK is true, the value of |