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/WebSettings.h" | 10 #include "third_party/WebKit/public/web/WebSettings.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 should_print_backgrounds(false), | 75 should_print_backgrounds(false), |
76 should_clear_document_background(true), | 76 should_clear_document_background(true), |
77 enable_scroll_animator(false), | 77 enable_scroll_animator(false), |
78 lazy_layout_enabled(false), | 78 lazy_layout_enabled(false), |
79 region_based_columns_enabled(false), | 79 region_based_columns_enabled(false), |
80 touch_enabled(false), | 80 touch_enabled(false), |
81 device_supports_touch(false), | 81 device_supports_touch(false), |
82 device_supports_mouse(true), | 82 device_supports_mouse(true), |
83 touch_adjustment_enabled(true), | 83 touch_adjustment_enabled(true), |
84 pointer_events_max_touch_points(0), | 84 pointer_events_max_touch_points(0), |
85 fixed_position_creates_stacking_context(false), | |
86 sync_xhr_in_documents_enabled(true), | 85 sync_xhr_in_documents_enabled(true), |
87 deferred_image_decoding_enabled(false), | 86 deferred_image_decoding_enabled(false), |
88 should_respect_image_orientation(false), | 87 should_respect_image_orientation(false), |
89 number_of_cpu_cores(1), | 88 number_of_cpu_cores(1), |
90 #if defined(OS_MACOSX) | 89 #if defined(OS_MACOSX) |
91 editing_behavior(webkit_glue::EDITING_BEHAVIOR_MAC), | 90 editing_behavior(webkit_glue::EDITING_BEHAVIOR_MAC), |
92 #elif defined(OS_WIN) | 91 #elif defined(OS_WIN) |
93 editing_behavior(webkit_glue::EDITING_BEHAVIOR_WIN), | 92 editing_behavior(webkit_glue::EDITING_BEHAVIOR_WIN), |
94 #elif defined(OS_ANDROID) | 93 #elif defined(OS_ANDROID) |
95 editing_behavior(webkit_glue::EDITING_BEHAVIOR_ANDROID), | 94 editing_behavior(webkit_glue::EDITING_BEHAVIOR_ANDROID), |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 COMPILE_ASSERT_MATCHING_ENUMS( | 168 COMPILE_ASSERT_MATCHING_ENUMS( |
170 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); | 169 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); |
171 COMPILE_ASSERT_MATCHING_ENUMS( | 170 COMPILE_ASSERT_MATCHING_ENUMS( |
172 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); | 171 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); |
173 COMPILE_ASSERT_MATCHING_ENUMS( | 172 COMPILE_ASSERT_MATCHING_ENUMS( |
174 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); | 173 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); |
175 COMPILE_ASSERT_MATCHING_ENUMS( | 174 COMPILE_ASSERT_MATCHING_ENUMS( |
176 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); | 175 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); |
177 | 176 |
178 } // namespace webkit_glue | 177 } // namespace webkit_glue |
OLD | NEW |