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

Unified Diff: android_webview/common/render_view_messages.h

Issue 23899004: Use contents size for android_webview layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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 b53bcfac9fda0934eca9fd9bf86ba4c3b65cc3d7..80e2471192dc93262d0675b9169767f70dda2d90 100644
--- a/android_webview/common/render_view_messages.h
+++ b/android_webview/common/render_view_messages.h
@@ -74,7 +74,7 @@ IPC_MESSAGE_ROUTED1(AwViewMsg_SetFixedLayoutSize,
// Sets the base background color for this view.
IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor,
- SkColor);
+ SkColor)
IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty,
bool /* network_up */)
@@ -95,3 +95,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 */)

Powered by Google App Engine
This is Rietveld 408576698