Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1357)

Unified Diff: android_webview/common/render_view_messages.h

Issue 12217134: [Android WebView] Implement WebSettings.{get|set}LoadWithOverviewMode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comment for the message Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698