| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index cec3302570ae4f85a27ab8a6b11d51b1bf8816ee..a0cbf0911ba295beb4cf1a0013656f78248f3ee5 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -681,8 +681,12 @@ 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)
|
| +// Tell the renderer to send a ViewHostMsg_PageScaleFactorChanged with its
|
| +// current page scale factor.
|
| +IPC_MESSAGE_ROUTED0(ViewMsg_GetPageScale)
|
| +
|
| +// 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 +1238,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.
|
| +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
|
|
|