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 39f1915d758672b82dce5bfb86cf2a76b14035ca..f3680e40e12b66c0dc240b804a7d8ba834f36089 100644 |
--- a/android_webview/common/render_view_messages.h |
+++ b/android_webview/common/render_view_messages.h |
@@ -64,6 +64,11 @@ IPC_SYNC_MESSAGE_ROUTED0_0(AwViewMsg_CapturePictureSync) |
IPC_MESSAGE_ROUTED1(AwViewMsg_SetTextZoomLevel, |
double /* zoom_level */) |
+// Resets WebKit WebView scrolling and scale state. We need to send this |
+// message whenever we want to guarantee that page's scale will be |
+// recalculated by WebKit. |
+IPC_MESSAGE_ROUTED0(AwViewMsg_ResetScrollAndScaleState) |
+ |
//----------------------------------------------------------------------------- |
// RenderView messages |
// These are messages sent from the renderer to the browser process. |