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

Unified Diff: android_webview/native/aw_contents.h

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/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 272f0aebc2c0309d41f463ca8d0d744cc70afd27..287d6f7670f750f8664455f68e793aa4de37c046 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -164,10 +164,14 @@ class AwContents : public FindHelper::Listener,
jint ReleasePopupAwContents(JNIEnv* env, jobject obj);
void ScrollTo(JNIEnv* env, jobject obj, jint xPix, jint yPix);
- void SetDipScale(JNIEnv* env, jobject obj, jfloat dipScale);
+ void SetDipScale(JNIEnv* env, jobject obj, jfloat dip_scale);
void SetDisplayedPageScaleFactor(JNIEnv* env,
jobject obj,
- jfloat pageScaleFactor);
+ jfloat page_scale_factor);
+ void SetAutoResizeMode(JNIEnv* env,
+ jobject obj,
+ jboolean enabled,
+ jint width_dip);
void SetSaveFormData(bool enabled);

Powered by Google App Engine
This is Rietveld 408576698