summaryrefslogtreecommitdiffstats
path: root/android_webview/common
diff options
context:
space:
mode:
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-16 19:56:45 +0000
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-16 19:56:45 +0000
commitafb59f5fd23a2392761e8be2e4a23bcc63b4a1fd (patch)
tree86be51026d615480678bb75b9f1e894e7b845d63 /android_webview/common
parent4b6bff3ea78537b5e8cd3811bf6c131a506fc7ea (diff)
downloadchromium_src-afb59f5fd23a2392761e8be2e4a23bcc63b4a1fd.zip
chromium_src-afb59f5fd23a2392761e8be2e4a23bcc63b4a1fd.tar.gz
chromium_src-afb59f5fd23a2392761e8be2e4a23bcc63b4a1fd.tar.bz2
[android_webview] Fixes for wrap_content layouts.
This changes AwContents to work correctly when in a WRAP_CONTENT layout mode. TBR=danakj@chromium.org BUG=246621 Review URL: https://chromiumcodereview.appspot.com/23478022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/common')
-rw-r--r--android_webview/common/render_view_messages.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/android_webview/common/render_view_messages.h b/android_webview/common/render_view_messages.h
index 96d1758..b53bcfa 100644
--- a/android_webview/common/render_view_messages.h
+++ b/android_webview/common/render_view_messages.h
@@ -67,6 +67,11 @@ IPC_MESSAGE_ROUTED0(AwViewMsg_ResetScrollAndScaleState)
IPC_MESSAGE_ROUTED1(AwViewMsg_SetInitialPageScale,
double /* page_scale_factor */)
+// Makes the WebKit::WebView use the given size for layout regardless of what
+// the size of the RenderWidget or viewport settings are.
+IPC_MESSAGE_ROUTED1(AwViewMsg_SetFixedLayoutSize,
+ gfx::Size /* size */)
+
// Sets the base background color for this view.
IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor,
SkColor);