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

Side by Side Diff: trunk/src/content/browser/frame_host/cross_process_frame_connector.h

Issue 295833002: Revert 271461 "Decouple RVH creation from CrossProcessFrameConne..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | trunk/src/content/browser/frame_host/cross_process_frame_connector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
7 7
8 #include "cc/output/compositor_frame.h" 8 #include "cc/output/compositor_frame.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Handlers for messages received from the parent frame. 94 // Handlers for messages received from the parent frame.
95 void OnBuffersSwappedACK( 95 void OnBuffersSwappedACK(
96 const FrameHostMsg_BuffersSwappedACK_Params& params); 96 const FrameHostMsg_BuffersSwappedACK_Params& params);
97 void OnCompositorFrameSwappedACK( 97 void OnCompositorFrameSwappedACK(
98 const FrameHostMsg_CompositorFrameSwappedACK_Params& params); 98 const FrameHostMsg_CompositorFrameSwappedACK_Params& params);
99 void OnReclaimCompositorResources( 99 void OnReclaimCompositorResources(
100 const FrameHostMsg_ReclaimCompositorResources_Params& params); 100 const FrameHostMsg_ReclaimCompositorResources_Params& params);
101 void OnForwardInputEvent(const blink::WebInputEvent* event); 101 void OnForwardInputEvent(const blink::WebInputEvent* event);
102 void OnInitializeChildFrame(gfx::Rect frame_rect, float scale_factor); 102 void OnInitializeChildFrame(gfx::Rect frame_rect, float scale_factor);
103 103
104 void SetDeviceScaleFactor(float scale_factor);
105 void SetSize(gfx::Rect frame_rect);
106
107 // The RenderFrameHost that routes messages to the parent frame's renderer 104 // The RenderFrameHost that routes messages to the parent frame's renderer
108 // process. 105 // process.
109 // TODO(kenrb): The type becomes RenderFrameProxyHost when that class comes 106 // TODO(kenrb): The type becomes RenderFrameProxyHost when that class comes
110 // to exist. 107 // to exist.
111 RenderFrameHostImpl* frame_proxy_in_parent_renderer_; 108 RenderFrameHostImpl* frame_proxy_in_parent_renderer_;
112 109
113 // The RenderWidgetHostView for the frame. Initially NULL. 110 // The RenderWidgetHostView for the frame. Initially NULL.
114 RenderWidgetHostViewChildFrame* view_; 111 RenderWidgetHostViewChildFrame* view_;
115 112
116 gfx::Rect child_frame_rect_; 113 gfx::Rect child_frame_rect_;
117 float device_scale_factor_; 114 float device_scale_factor_;
118 }; 115 };
119 116
120 } // namespace content 117 } // namespace content
121 118
122 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_ 119 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_PROCESS_FRAME_CONNECTOR_H_
123 120
OLDNEW
« no previous file with comments | « no previous file | trunk/src/content/browser/frame_host/cross_process_frame_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698