Chromium Code Reviews| Index: android_webview/common/render_view_messages.h |
| diff --git a/android_webview/common/render_view_messages.h b/android_webview/common/render_view_messages.h |
| index 96d17589c7120f1176e8afd0f41ab398f9ef2e62..31dc3e91851763f66c1da74f78235b11f863248f 100644 |
| --- a/android_webview/common/render_view_messages.h |
| +++ b/android_webview/common/render_view_messages.h |
| @@ -69,11 +69,18 @@ IPC_MESSAGE_ROUTED1(AwViewMsg_SetInitialPageScale, |
| // Sets the base background color for this view. |
| IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor, |
| - SkColor); |
| + SkColor) |
| IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty, |
| bool /* network_up */) |
| +// Enables the sending of content size change notifications by the renderer. |
| +IPC_MESSAGE_ROUTED0(AwViewMsg_EnableContentsSizeNotifications) |
| + |
| +// Disables the sending of content size change notifications by the renderer. |
| +IPC_MESSAGE_ROUTED0(AwViewMsg_DisableContentsSizeNotifications) |
|
benm (inactive)
2013/09/06 19:27:53
Do we need two IPCs for this? Suggest just one wit
mkosiba (inactive)
2013/09/09 13:46:21
Done.
|
| + |
| + |
| //----------------------------------------------------------------------------- |
| // RenderView messages |
| // These are messages sent from the renderer to the browser process. |
| @@ -90,3 +97,7 @@ IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, |
| // Sent whenever the page scale factor (as seen by RenderView) is changed. |
| IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, |
| float /* page_scale_factor */) |
| + |
| +// Sent whenever the contents size (as seen by RenderView) is changed. |
| +IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, |
| + gfx::Size /* contents_size */) |