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

Unified Diff: android_webview/browser/aw_content_browser_client.cc

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android fix - webview() -> web_view Created 6 years, 5 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_content_browser_client.cc
diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc
index 2e3f9fb264abcbe907002072452037db1f70df9e..3a054019db403132cb101f4e22dd876c7e93058a 100644
--- a/android_webview/browser/aw_content_browser_client.cc
+++ b/android_webview/browser/aw_content_browser_client.cc
@@ -28,13 +28,13 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/url_constants.h"
+#include "content/public/common/web_preferences.h"
#include "grit/ui_resources.h"
#include "net/android/network_library.h"
#include "net/ssl/ssl_cert_request_info.h"
#include "net/ssl/ssl_info.h"
#include "ui/base/l10n/l10n_util_android.h"
#include "ui/base/resource/resource_bundle.h"
-#include "webkit/common/webpreferences.h"
using content::BrowserThread;
using content::ResourceType;
@@ -573,9 +573,10 @@ bool AwContentBrowserClient::AllowPepperSocketAPI(
return false;
}
-void AwContentBrowserClient::OverrideWebkitPrefs(content::RenderViewHost* rvh,
- const GURL& url,
- WebPreferences* web_prefs) {
+void AwContentBrowserClient::OverrideWebkitPrefs(
+ content::RenderViewHost* rvh,
+ const GURL& url,
+ content::WebPreferences* web_prefs) {
if (!preferences_populater_.get()) {
preferences_populater_ = make_scoped_ptr(native_factory_->
CreateWebPreferencesPopulater());
« no previous file with comments | « android_webview/browser/aw_content_browser_client.h ('k') | android_webview/browser/aw_web_preferences_populater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698