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

Unified Diff: content/browser/android/content_settings.h

Issue 14271024: [Android WebView] Move the most of WebSettings into AwSettings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated findbugs issues Created 7 years, 8 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: content/browser/android/content_settings.h
diff --git a/content/browser/android/content_settings.h b/content/browser/android/content_settings.h
index 3a9128e50344e1296197a45d57f1cef70e7f8dd5..ce8ea7005f2614c588a5dcabf4ae28827f988000 100644
--- a/content/browser/android/content_settings.h
+++ b/content/browser/android/content_settings.h
@@ -16,15 +16,11 @@ namespace content {
class ContentSettings : public WebContentsObserver {
public:
ContentSettings(JNIEnv* env, jobject obj,
- WebContents* contents,
- bool is_master_mode);
+ WebContents* contents);
static bool RegisterContentSettings(JNIEnv* env);
- // Synchronizes the Java settings from native settings.
void SyncFromNative(JNIEnv* env, jobject obj);
- // Synchronizes the native settings from Java settings.
- void SyncToNative(JNIEnv* env, jobject obj);
private:
struct FieldIds;
@@ -32,16 +28,10 @@ class ContentSettings : public WebContentsObserver {
virtual ~ContentSettings();
void SyncFromNativeImpl();
- void SyncToNativeImpl();
// WebContentsObserver overrides:
- virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE;
- // Determines whether a sync to native should be triggered when a new render
- // view is created.
- bool is_master_mode_;
-
// Java field references for accessing the values in the Java object.
scoped_ptr<FieldIds> field_ids_;

Powered by Google App Engine
This is Rietveld 408576698