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

Unified Diff: chrome/browser/chrome_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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 3d3c3c2b0fff4cd4668a4d070380bb47cda6b8d8..3d5aeaa1d798f7ea9ff9f2a42eabfde0b5e3d50e 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -122,6 +122,7 @@
#include "content/public/common/child_process_host.h"
#include "content/public/common/content_descriptors.h"
#include "content/public/common/url_utils.h"
+#include "content/public/common/web_preferences.h"
#include "extensions/browser/extension_host.h"
#include "extensions/browser/extension_message_filter.h"
#include "extensions/browser/extension_registry.h"
@@ -150,7 +151,6 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "webkit/browser/fileapi/external_mount_points.h"
-#include "webkit/common/webpreferences.h"
#if defined(OS_WIN)
#include "base/win/windows_version.h"
@@ -261,6 +261,7 @@ using content::RenderViewHost;
using content::ResourceType;
using content::SiteInstance;
using content::WebContents;
+using content::WebPreferences;
using extensions::APIPermission;
using extensions::Extension;
using extensions::InfoMap;
@@ -495,7 +496,7 @@ bool CertMatchesFilter(const net::X509Certificate& cert,
// Fills |map| with the per-script font prefs under path |map_name|.
void FillFontFamilyMap(const PrefService* prefs,
const char* map_name,
- webkit_glue::ScriptFontFamilyMap* map) {
+ content::ScriptFontFamilyMap* map) {
// TODO(falken): Get rid of the brute-force scan over possible
// (font family / script) combinations - see http://crbug.com/308095.
for (size_t i = 0; i < prefs::kWebKitScriptsForFontFamilyMapsLength; ++i) {
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/extensions/extension_webkit_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698