diff options
Diffstat (limited to 'android_webview/native/aw_settings.h')
-rw-r--r-- | android_webview/native/aw_settings.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android_webview/native/aw_settings.h b/android_webview/native/aw_settings.h index 4c85c3e..29c477b 100644 --- a/android_webview/native/aw_settings.h +++ b/android_webview/native/aw_settings.h @@ -12,12 +12,16 @@ #include "base/memory/scoped_ptr.h" #include "content/public/browser/web_contents_observer.h" +struct WebPreferences; + namespace android_webview { class AwRenderViewHostExt; class AwSettings : public content::WebContentsObserver { public: + static AwSettings* FromWebContents(content::WebContents* web_contents); + AwSettings(JNIEnv* env, jobject obj, jint web_contents); virtual ~AwSettings(); @@ -31,6 +35,8 @@ class AwSettings : public content::WebContentsObserver { void UpdateWebkitPreferencesLocked(JNIEnv* env, jobject obj); void UpdateFormDataPreferencesLocked(JNIEnv* env, jobject obj); + void PopulateWebPreferences(WebPreferences* web_prefs); + private: AwRenderViewHostExt* GetAwRenderViewHostExt(); void UpdateEverything(); |