OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/renderer_preferences.h" | 5 #include "content/common/renderer_preferences.h" |
6 | 6 |
7 RendererPreferences::RendererPreferences() | 7 RendererPreferences::RendererPreferences() |
8 : can_accept_load_drops(true), | 8 : can_accept_load_drops(true), |
9 should_antialias_text(true), | 9 should_antialias_text(true), |
10 hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT), | 10 hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT), |
11 subpixel_rendering( | 11 subpixel_rendering( |
12 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT), | 12 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT), |
13 focus_ring_color(0), | 13 focus_ring_color(0), |
14 thumb_active_color(0), | 14 thumb_active_color(0), |
15 thumb_inactive_color(0), | 15 thumb_inactive_color(0), |
16 track_color(0), | 16 track_color(0), |
17 active_selection_bg_color(0), | 17 active_selection_bg_color(0), |
18 active_selection_fg_color(0), | 18 active_selection_fg_color(0), |
19 inactive_selection_bg_color(0), | 19 inactive_selection_bg_color(0), |
20 inactive_selection_fg_color(0), | 20 inactive_selection_fg_color(0), |
21 browser_handles_top_level_requests(false), | 21 browser_handles_top_level_requests(false), |
22 caret_blink_interval(0) { | 22 caret_blink_interval(0), |
| 23 enable_referrers(true) { |
23 } | 24 } |
OLD | NEW |