| 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 "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
| 9 #include "ui/gfx/font_render_params.h" | 9 #include "ui/gfx/font_render_params.h" |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 track_color(SkColorSetRGB(211, 211, 211)), | 24 track_color(SkColorSetRGB(211, 211, 211)), |
| 25 active_selection_bg_color(SkColorSetRGB(30, 144, 255)), | 25 active_selection_bg_color(SkColorSetRGB(30, 144, 255)), |
| 26 active_selection_fg_color(SK_ColorWHITE), | 26 active_selection_fg_color(SK_ColorWHITE), |
| 27 inactive_selection_bg_color(SkColorSetRGB(200, 200, 200)), | 27 inactive_selection_bg_color(SkColorSetRGB(200, 200, 200)), |
| 28 inactive_selection_fg_color(SkColorSetRGB(50, 50, 50)), | 28 inactive_selection_fg_color(SkColorSetRGB(50, 50, 50)), |
| 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 default_zoom_level(0), | |
| 35 report_frame_name_changes(false), | 34 report_frame_name_changes(false), |
| 36 tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP), | 35 tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP), |
| 37 disable_client_blocked_error_page(false), | 36 disable_client_blocked_error_page(false), |
| 38 plugin_fullscreen_allowed(true), | 37 plugin_fullscreen_allowed(true), |
| 39 use_video_overlay_for_embedded_encrypted_video(false), | 38 use_video_overlay_for_embedded_encrypted_video(false), |
| 40 use_view_overlay_for_all_video(false) | 39 use_view_overlay_for_all_video(false) |
| 41 #if defined(OS_WIN) | 40 #if defined(OS_WIN) |
| 42 , caption_font_height(0), | 41 , caption_font_height(0), |
| 43 small_caption_font_height(0), | 42 small_caption_font_height(0), |
| 44 menu_font_height(0), | 43 menu_font_height(0), |
| 45 status_font_height(0), | 44 status_font_height(0), |
| 46 message_font_height(0), | 45 message_font_height(0), |
| 47 vertical_scroll_bar_width_in_dips(0), | 46 vertical_scroll_bar_width_in_dips(0), |
| 48 horizontal_scroll_bar_height_in_dips(0), | 47 horizontal_scroll_bar_height_in_dips(0), |
| 49 arrow_bitmap_height_vertical_scroll_bar_in_dips(0), | 48 arrow_bitmap_height_vertical_scroll_bar_in_dips(0), |
| 50 arrow_bitmap_width_horizontal_scroll_bar_in_dips(0) | 49 arrow_bitmap_width_horizontal_scroll_bar_in_dips(0) |
| 51 #endif | 50 #endif |
| 52 , default_font_size(0) | 51 , default_font_size(0) |
| 53 {} | 52 {} |
| 54 | 53 |
| 55 RendererPreferences::RendererPreferences(const RendererPreferences& other) = | 54 RendererPreferences::RendererPreferences(const RendererPreferences& other) = |
| 56 default; | 55 default; |
| 57 | 56 |
| 58 RendererPreferences::~RendererPreferences() { } | 57 RendererPreferences::~RendererPreferences() { } |
| 59 | 58 |
| 60 } // namespace content | 59 } // namespace content |
| OLD | NEW |