| 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 */)
|
|
|