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

Unified Diff: android_webview/browser/aw_web_preferences_populater.h

Issue 23619089: [Android WebView] Populate WebKit WebPreferences correctly in browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/browser/aw_web_preferences_populater.h
diff --git a/android_webview/browser/aw_web_preferences_populater.h b/android_webview/browser/aw_web_preferences_populater.h
new file mode 100644
index 0000000000000000000000000000000000000000..a14fc8196cbb2e362cc8e2e567d55eeabadc453c
--- /dev/null
+++ b/android_webview/browser/aw_web_preferences_populater.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
+#define ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
+
+struct WebPreferences;
+
+namespace content {
+class WebContents;
+}
+
+namespace android_webview {
+
+// Empty base class so this can be destroyed by AwContentBrowserClient.
+class AwWebPreferencesPopulater {
+ public:
+ virtual ~AwWebPreferencesPopulater();
+
+ virtual void PopulateFor(content::WebContents* web_contents,
+ WebPreferences* web_prefs) = 0;
+};
+
+} // namespace android_webview
+
+#endif // ANDROID_WEBVIEW_BROWSER_AW_WEB_PREFERENCES_POPULATER_H_
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | android_webview/browser/aw_web_preferences_populater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698