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

Unified Diff: content/browser/frame_host/cross_process_frame_connector.h

Issue 132383005: Set correct viewport size for an out of process iframe. (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/frame_host/cross_process_frame_connector.h
diff --git a/content/browser/frame_host/cross_process_frame_connector.h b/content/browser/frame_host/cross_process_frame_connector.h
index 4ab8e0244837e647ad871b0f50c826f2f97912d0..9f0bc84250eff1ec24a31a16566ef00ce674feea 100644
--- a/content/browser/frame_host/cross_process_frame_connector.h
+++ b/content/browser/frame_host/cross_process_frame_connector.h
@@ -94,6 +94,7 @@ class CrossProcessFrameConnector {
const FrameHostMsg_CompositorFrameSwappedACK_Params& params);
void OnReclaimCompositorResources(
const FrameHostMsg_ReclaimCompositorResources_Params& params);
+ void OnInitializeChildFrame(gfx::Rect frame_rect, float scale_factor);
// The RenderFrameHost that routes messages to the parent frame's renderer
// process.
@@ -105,6 +106,7 @@ class CrossProcessFrameConnector {
RenderWidgetHostViewChildFrame* view_;
gfx::Rect child_frame_rect_;
+ float device_scale_factor_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698