summaryrefslogtreecommitdiffstats
path: root/android_webview/renderer/aw_render_view_ext.h
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/renderer/aw_render_view_ext.h
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/renderer/aw_render_view_ext.h')
-rw-r--r--android_webview/renderer/aw_render_view_ext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/android_webview/renderer/aw_render_view_ext.h b/android_webview/renderer/aw_render_view_ext.h
index 031d513..8969ec2 100644
--- a/android_webview/renderer/aw_render_view_ext.h
+++ b/android_webview/renderer/aw_render_view_ext.h
@@ -10,6 +10,7 @@
#include "content/public/renderer/render_view_observer.h"
#include "third_party/WebKit/public/web/WebPermissionClient.h"
#include "third_party/skia/include/core/SkColor.h"
+#include "ui/gfx/size.h"
namespace WebKit {
@@ -49,6 +50,9 @@ class AwRenderViewExt : public content::RenderViewObserver,
void OnResetScrollAndScaleState();
void OnSetInitialPageScale(double page_scale_factor);
+
+ void OnSetFixedLayoutSize(const gfx::Size& size);
+
void OnSetBackgroundColor(SkColor c);
void UpdatePageScaleFactor();