| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index 4dadd33771b0816292097e3c785e7b7b8230d2b4..5174a30f9584bc00104f5f4858506c31f0d6b3ee 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -677,12 +677,6 @@ IPC_MESSAGE_ROUTED0(ViewMsg_DisownOpener)
|
| IPC_MESSAGE_ROUTED1(ViewMsg_Zoom,
|
| content::PageZoom /* function */)
|
|
|
| -// Set the zoom level for the current main frame. If the level actually
|
| -// changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser
|
| -// telling it what url got zoomed and what its current zoom level is.
|
| -IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevel,
|
| - double /* zoom_level */)
|
| -
|
| // Set the zoom level for a particular url that the renderer is in the
|
| // process of loading. This will be stored, to be used if the load commits
|
| // and ignored otherwise.
|
| @@ -1456,23 +1450,27 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged,
|
| // Required for cancelling an ongoing input method composition.
|
| IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition)
|
|
|
| +// Sent when creating a new main-frame document in the renderer and it turns
|
| +// out to be a plugin document. Contents needs to keep track of this, since
|
| +// zooming is handled differently for plugin documents.
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_DidCreateDocument,
|
| + bool /* uses_temporary_zoom_settings */)
|
| +
|
| // Sent when the renderer changes the zoom level for a particular url, so the
|
| -// browser can update its records. If remember is true, then url is used to
|
| -// update the zoom level for all pages in that site. Otherwise, the render
|
| -// view's id is used so that only the menu is updated.
|
| -IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL,
|
| +// browser can update its records. If the view is a plugin doc, then url is
|
| +// used to update the zoom level for all pages in that site. Otherwise, the
|
| +// render view's id is used so that only the menu is updated.
|
| +IPC_MESSAGE_ROUTED2(ViewHostMsg_DidZoomURL,
|
| double /* zoom_level */,
|
| - bool /* remember */,
|
| GURL /* url */)
|
|
|
| // 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
|
| // other pages in the site and is saved, otherwise it only applies to this
|
| // tab.
|
| -IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits,
|
| +IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits,
|
| int /* minimum_percent */,
|
| - int /* maximum_percent */,
|
| - bool /* remember */)
|
| + int /* maximum_percent */)
|
|
|
| // Notify the browser that this render process can or can't be suddenly
|
| // terminated.
|
|
|