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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

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/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 83cd27d876d00a18ee3448bc444db7960425bcac..786cbbc78dbbe161a2e3c13a2526c5228babf02b 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -11,6 +11,7 @@
#include "android_webview/lib/aw_browser_dependency_factory_impl.h"
#include "android_webview/native/aw_geolocation_permission_context.h"
#include "android_webview/native/aw_quota_manager_bridge_impl.h"
+#include "android_webview/native/aw_settings_poker_impl.h"
#include "android_webview/native/aw_web_contents_view_delegate.h"
#include "android_webview/renderer/aw_content_renderer_client.h"
#include "base/command_line.h"
@@ -141,4 +142,9 @@ content::WebContentsViewDelegate* AwMainDelegate::CreateViewDelegate(
return AwWebContentsViewDelegate::Create(web_contents);
}
+AwSettingsPoker* AwMainDelegate::CreateSettingsPoker(
+ content::WebContents* web_contents) {
+ return new AwSettingsPokerImpl(web_contents);
+}
+
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698