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

Unified Diff: content/renderer/web_preferences.cc

Issue 147373005: Move webkit/common/webpreferences to content/public/common/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/renderer/web_preferences.cc
diff --git a/content/renderer/web_preferences.cc b/content/renderer/web_preferences.cc
index 6682e6054196d0574c0ee4ba191f4fdb14075760..28a1c42771dcff97b32ca6f3ed9aa37cde3c1a53 100644
--- a/content/renderer/web_preferences.cc
+++ b/content/renderer/web_preferences.cc
@@ -5,6 +5,7 @@
#include "content/public/renderer/web_preferences.h"
#include "base/strings/utf_string_conversions.h"
+#include "content/public/common/webpreferences.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebURL.h"
#include "third_party/WebKit/public/web/WebKit.h"
@@ -14,7 +15,6 @@
#include "third_party/WebKit/public/web/WebView.h"
#include "third_party/icu/source/common/unicode/uchar.h"
#include "third_party/icu/source/common/unicode/uscript.h"
-#include "webkit/common/webpreferences.h"
using blink::WebNetworkStateNotifier;
using blink::WebRuntimeFeatures;
@@ -95,10 +95,10 @@ UScriptCode GetScriptForWebSettings(UScriptCode scriptCode) {
}
}
-void ApplyFontsFromMap(const webkit_glue::ScriptFontFamilyMap& map,
+void ApplyFontsFromMap(const content::ScriptFontFamilyMap& map,
SetFontFamilyWrapper setter,
WebSettings* settings) {
- for (webkit_glue::ScriptFontFamilyMap::const_iterator it = map.begin();
+ for (content::ScriptFontFamilyMap::const_iterator it = map.begin();
it != map.end();
++it) {
int32 script = u_getPropertyValueEnum(UCHAR_SCRIPT, (it->first).c_str());
@@ -273,7 +273,7 @@ void ApplyWebPreferences(const WebPreferences& prefs, WebView* web_view) {
prefs.asynchronous_spell_checking_enabled);
settings->setUnifiedTextCheckerEnabled(prefs.unified_textchecker_enabled);
- for (webkit_glue::WebInspectorPreferences::const_iterator it =
+ for (content::WebInspectorPreferences::const_iterator it =
prefs.inspector_settings.begin();
it != prefs.inspector_settings.end();
++it) {

Powered by Google App Engine
This is Rietveld 408576698