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 #include "third_party/skia/include/core/SkColor.h" | 7 #include "third_party/skia/include/core/SkColor.h" |
8 #include "ui/gfx/font_render_params.h" | 8 #include "ui/gfx/font_render_params.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 14 matching lines...) Expand all Loading... |
25 active_selection_fg_color(SK_ColorWHITE), | 25 active_selection_fg_color(SK_ColorWHITE), |
26 inactive_selection_bg_color(SkColorSetRGB(200, 200, 200)), | 26 inactive_selection_bg_color(SkColorSetRGB(200, 200, 200)), |
27 inactive_selection_fg_color(SkColorSetRGB(50, 50, 50)), | 27 inactive_selection_fg_color(SkColorSetRGB(50, 50, 50)), |
28 browser_handles_non_local_top_level_requests(false), | 28 browser_handles_non_local_top_level_requests(false), |
29 browser_handles_all_top_level_requests(false), | 29 browser_handles_all_top_level_requests(false), |
30 caret_blink_interval(0.5), | 30 caret_blink_interval(0.5), |
31 use_custom_colors(true), | 31 use_custom_colors(true), |
32 enable_referrers(true), | 32 enable_referrers(true), |
33 enable_do_not_track(false), | 33 enable_do_not_track(false), |
34 enable_webrtc_multiple_routes(true), | 34 enable_webrtc_multiple_routes(true), |
| 35 enable_webrtc_nonproxied_udp_transport(true), |
35 default_zoom_level(0), | 36 default_zoom_level(0), |
36 report_frame_name_changes(false), | 37 report_frame_name_changes(false), |
37 tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP), | 38 tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP), |
38 disable_client_blocked_error_page(false), | 39 disable_client_blocked_error_page(false), |
39 plugin_fullscreen_allowed(true), | 40 plugin_fullscreen_allowed(true), |
40 use_video_overlay_for_embedded_encrypted_video(false), | 41 use_video_overlay_for_embedded_encrypted_video(false), |
41 use_view_overlay_for_all_video(false) | 42 use_view_overlay_for_all_video(false) |
42 #if defined(OS_WIN) | 43 #if defined(OS_WIN) |
43 , caption_font_height(0), | 44 , caption_font_height(0), |
44 small_caption_font_height(0), | 45 small_caption_font_height(0), |
45 menu_font_height(0), | 46 menu_font_height(0), |
46 status_font_height(0), | 47 status_font_height(0), |
47 message_font_height(0), | 48 message_font_height(0), |
48 vertical_scroll_bar_width_in_dips(0), | 49 vertical_scroll_bar_width_in_dips(0), |
49 horizontal_scroll_bar_height_in_dips(0), | 50 horizontal_scroll_bar_height_in_dips(0), |
50 arrow_bitmap_height_vertical_scroll_bar_in_dips(0), | 51 arrow_bitmap_height_vertical_scroll_bar_in_dips(0), |
51 arrow_bitmap_width_horizontal_scroll_bar_in_dips(0) | 52 arrow_bitmap_width_horizontal_scroll_bar_in_dips(0) |
52 #endif | 53 #endif |
53 , default_font_size(0) | 54 , default_font_size(0) |
54 {} | 55 {} |
55 | 56 |
56 RendererPreferences::~RendererPreferences() { } | 57 RendererPreferences::~RendererPreferences() { } |
57 | 58 |
58 } // namespace content | 59 } // namespace content |
OLD | NEW |