OLD | NEW |
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/WebKit.h" | 10 #include "third_party/WebKit/public/web/WebKit.h" |
11 #include "third_party/WebKit/public/web/WebSettings.h" | 11 #include "third_party/WebKit/public/web/WebSettings.h" |
12 #include "third_party/icu/public/common/unicode/uchar.h" | 12 #include "third_party/icu/source/common/unicode/uchar.h" |
13 | 13 |
14 using WebKit::WebSettings; | 14 using WebKit::WebSettings; |
15 | 15 |
16 WebPreferences::WebPreferences() | 16 WebPreferences::WebPreferences() |
17 : default_font_size(16), | 17 : default_font_size(16), |
18 default_fixed_font_size(13), | 18 default_fixed_font_size(13), |
19 minimum_font_size(0), | 19 minimum_font_size(0), |
20 minimum_logical_font_size(6), | 20 minimum_logical_font_size(6), |
21 default_encoding("ISO-8859-1"), | 21 default_encoding("ISO-8859-1"), |
22 javascript_enabled(true), | 22 javascript_enabled(true), |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 COMPILE_ASSERT_MATCHING_ENUMS( | 163 COMPILE_ASSERT_MATCHING_ENUMS( |
164 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); | 164 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); |
165 COMPILE_ASSERT_MATCHING_ENUMS( | 165 COMPILE_ASSERT_MATCHING_ENUMS( |
166 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); | 166 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); |
167 COMPILE_ASSERT_MATCHING_ENUMS( | 167 COMPILE_ASSERT_MATCHING_ENUMS( |
168 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); | 168 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); |
169 COMPILE_ASSERT_MATCHING_ENUMS( | 169 COMPILE_ASSERT_MATCHING_ENUMS( |
170 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); | 170 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); |
171 | 171 |
172 } // namespace webkit_glue | 172 } // namespace webkit_glue |
OLD | NEW |