Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index cec3302570ae4f85a27ab8a6b11d51b1bf8816ee..1be7ce49e6c2d67142aa4cc4ed3ced81ef3188a6 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -681,8 +681,8 @@ IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, |
gfx::Point, /* location */ |
blink::WebPluginAction) |
-// Resets the page scale for the current main frame to the default page scale. |
-IPC_MESSAGE_ROUTED0(ViewMsg_ResetPageScale) |
+// Sets the page scale for the current main frame to the given page scale. |
+IPC_MESSAGE_ROUTED1(ViewMsg_SetPageScale, float /* page_scale_factor */) |
// Change the zoom level for the current main frame. If the level actually |
// changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser |
@@ -1234,9 +1234,9 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_DidZoomURL, |
double /* zoom_level */, |
GURL /* url */) |
-// 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 */) |
+// Sent when the renderer changes its page scale factor |
Charlie Reis
2015/10/21 21:37:10
nit: End with period.
Kevin McNee - google account
2015/10/22 20:28:48
Done.
|
+IPC_MESSAGE_ROUTED1(ViewHostMsg_PageScaleFactorChanged, |
+ float /* page_scale_factor */) |
// Updates the minimum/maximum allowed zoom percent for this tab from the |
// default values. If |remember| is true, then the zoom setting is applied to |