Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1304)

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 183923030: Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698