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

Unified Diff: content/common/frame_messages.h

Issue 2652643004: Make PageScaleFactor work for oopif subframes.
Patch Set: Put function prototype in correct place. Created 3 years, 11 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 90923442602cc1558cfafd0d49cc9ae7fc831d99..e70be71e0d523c438e0d2186556abc2ed34e5598 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -942,6 +942,14 @@ IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture)
IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse,
std::vector<content::FileChooserFileInfo>)
+// Used by the main-frame renderer to propagate page scale to subframes in other
+// renderer processes.
+IPC_MESSAGE_ROUTED1(FrameHostMsg_RestorePageScaleFactorOnLoad,
+ float /* page_scale */)
+
+IPC_MESSAGE_ROUTED1(FrameMsg_SetPageScaleFactor,
+ double /* page_scale_factor */)
+
// -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698