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

Unified Diff: android_webview/common/render_view_messages.h

Issue 12567020: [android] Resize the android_webview if it's 0x0 initially. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't re-layout while pinch-zooming Created 7 years, 8 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 2f6db4fe23d0e7ace37bf61a5135086c67c4d0f4..034fca353023e17f2d985893998f40e6050ab478 100644
--- a/android_webview/common/render_view_messages.h
+++ b/android_webview/common/render_view_messages.h
@@ -93,6 +93,10 @@ IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse,
IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData,
android_webview::AwHitTestData)
+// Sent whenever the page scale factor (as seen by RenderView) is changed.
+IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged,
+ float /* page_scale_factor */)
+
// Notification that a new picture becomes available. It is only sent if
// AwViewMsg_EnableCapturePictureCallback was previously enabled.
IPC_MESSAGE_ROUTED0(AwViewHostMsg_PictureUpdated)

Powered by Google App Engine
This is Rietveld 408576698