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

Unified Diff: android_webview/native/aw_contents.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/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 91001ca5e2735e86ac0192b79cd9f15f3183687a..e9d9504116684fc9c4473b58d30f37a2005297d5 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -147,6 +147,8 @@ class AwContents : public FindHelper::Listener,
// AwRenderViewHostExtClient implementation.
virtual void OnWebLayoutPageScaleFactorChanged(
float page_scale_factor) OVERRIDE;
+ virtual void OnWebLayoutContentsSizeChanged(
+ const gfx::Size& contents_size) OVERRIDE;
// BrowserViewRenderer::Client implementation.
virtual bool RequestDrawGL(jobject canvas) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698