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

Unified Diff: content/common/view_messages.h

Issue 1408393003: Propagate pageScaleFactor to GuestViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 28a2353227b946e5570811ebcaa3b0d3d620ef7b..9cff33204afd375f53c1e677bcdbc43d01dfad29 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -681,6 +681,9 @@ IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt,
gfx::Point, /* location */
blink::WebPluginAction)
+// Sets the page scale for the current main frame to the given page scale.
+IPC_MESSAGE_ROUTED1(ViewMsg_SetPageScale, float /* page_scale_factor */)
+
// Resets the page scale for the current main frame to the default page scale.
IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageScale)
@@ -1235,6 +1238,10 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_DidZoomURL,
double /* zoom_level */,
GURL /* url */)
+// Sent when the renderer changes its page scale factor
+IPC_MESSAGE_ROUTED1(ViewHostMsg_PageScaleFactorChanged,
+ float /* page_scale_factor */)
+
// Sent when the renderer changes its page scale factor and whether or not the
// page scale factor is one changes.
IPC_MESSAGE_ROUTED1(ViewHostMsg_PageScaleFactorIsOneChanged, bool /* is_one */)

Powered by Google App Engine
This is Rietveld 408576698