OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/common/renderer_preferences.h" | 5 #include "content/public/common/renderer_preferences.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 RendererPreferences::RendererPreferences() | 9 RendererPreferences::RendererPreferences() |
10 : can_accept_load_drops(true), | 10 : can_accept_load_drops(true), |
11 should_antialias_text(true), | 11 should_antialias_text(true), |
12 hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT), | 12 hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT), |
13 use_autohinter(false), | 13 use_autohinter(false), |
14 use_bitmaps(false), | 14 use_bitmaps(false), |
15 subpixel_rendering( | 15 subpixel_rendering( |
16 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT), | 16 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT), |
17 use_subpixel_positioning(false), | 17 use_subpixel_positioning(false), |
18 focus_ring_color(0), | 18 focus_ring_color(0), |
19 thumb_active_color(0), | 19 thumb_active_color(0), |
20 thumb_inactive_color(0), | 20 thumb_inactive_color(0), |
21 track_color(0), | 21 track_color(0), |
22 active_selection_bg_color(0), | 22 active_selection_bg_color(0), |
23 active_selection_fg_color(0), | 23 active_selection_fg_color(0), |
24 inactive_selection_bg_color(0), | 24 inactive_selection_bg_color(0), |
25 inactive_selection_fg_color(0), | 25 inactive_selection_fg_color(0), |
26 browser_handles_non_local_top_level_requests(false), | 26 browser_handles_non_local_top_level_requests(false), |
27 browser_handles_all_top_level_requests(false), | 27 browser_handles_all_top_level_requests(false), |
28 caret_blink_interval(0), | 28 caret_blink_interval(0), |
29 enable_referrers(true), | 29 enable_referrers(true), |
30 default_zoom_level(0) { | 30 default_zoom_level(0), |
| 31 throttle_input_events(true) { |
31 } | 32 } |
32 | 33 |
33 } // namespace content | 34 } // namespace content |
OLD | NEW |