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

Side by Side Diff: webkit/common/webpreferences.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/common/fileapi/file_system_util.cc ('k') | webkit/renderer/cpp_bound_class.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/common/webpreferences.h" 5 #include "webkit/common/webpreferences.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 10 #include "third_party/WebKit/public/web/WebSettings.h"
11 #include "third_party/icu/source/common/unicode/uchar.h" 11 #include "third_party/icu/source/common/unicode/uchar.h"
12 12
13 using base::ASCIIToWide;
13 using blink::WebSettings; 14 using blink::WebSettings;
14 15
15 WebPreferences::WebPreferences() 16 WebPreferences::WebPreferences()
16 : default_font_size(16), 17 : default_font_size(16),
17 default_fixed_font_size(13), 18 default_fixed_font_size(13),
18 minimum_font_size(0), 19 minimum_font_size(0),
19 minimum_logical_font_size(6), 20 minimum_logical_font_size(6),
20 default_encoding("ISO-8859-1"), 21 default_encoding("ISO-8859-1"),
21 javascript_enabled(true), 22 javascript_enabled(true),
22 web_security_enabled(true), 23 web_security_enabled(true),
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 COMPILE_ASSERT_MATCHING_ENUMS( 179 COMPILE_ASSERT_MATCHING_ENUMS(
179 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); 180 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac);
180 COMPILE_ASSERT_MATCHING_ENUMS( 181 COMPILE_ASSERT_MATCHING_ENUMS(
181 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); 182 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin);
182 COMPILE_ASSERT_MATCHING_ENUMS( 183 COMPILE_ASSERT_MATCHING_ENUMS(
183 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); 184 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix);
184 COMPILE_ASSERT_MATCHING_ENUMS( 185 COMPILE_ASSERT_MATCHING_ENUMS(
185 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); 186 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid);
186 187
187 } // namespace webkit_glue 188 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/common/fileapi/file_system_util.cc ('k') | webkit/renderer/cpp_bound_class.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698