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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java

Issue 23583025: [android_webview] Use auto-sizing for webviews in wrap content mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add test Created 7 years, 4 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/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
index 88fd73387b1789e0c36cc0f832a6f40ee927dce2..78253c5a232152476ec6508d607fbfb8d182fdd5 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
@@ -29,6 +29,11 @@ public class AwLayoutSizerTest extends InstrumentationTestCase {
this.measuredWidth = measuredWidth;
this.measuredHeight = measuredHeight;
}
+
+ @Override
+ public void setAutoResizeMode(boolean enabled, int widthCss) {
+ // TODO: test me!
+ }
}
private static final int FIRST_CONTENT_WIDTH = 101;

Powered by Google App Engine
This is Rietveld 408576698