[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / content / public / common / renderer_preferences.cc
blobab4bacddc601cf9b66066f4ee11bf3a9d8a89705
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
3 // found in the LICENSE file.
5 #include "content/public/common/renderer_preferences.h"
7 #include "third_party/skia/include/core/SkColor.h"
8 #include "ui/gfx/font_render_params.h"
10 namespace content {
12 RendererPreferences::RendererPreferences()
13 : can_accept_load_drops(true),
14 should_antialias_text(true),
15 hinting(gfx::FontRenderParams::HINTING_MEDIUM),
16 use_autohinter(false),
17 use_bitmaps(false),
18 subpixel_rendering(gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE),
19 use_subpixel_positioning(false),
20 focus_ring_color(SkColorSetARGB(255, 229, 151, 0)),
21 thumb_active_color(SkColorSetRGB(244, 244, 244)),
22 thumb_inactive_color(SkColorSetRGB(234, 234, 234)),
23 track_color(SkColorSetRGB(211, 211, 211)),
24 active_selection_bg_color(SkColorSetRGB(30, 144, 255)),
25 active_selection_fg_color(SK_ColorWHITE),
26 inactive_selection_bg_color(SkColorSetRGB(200, 200, 200)),
27 inactive_selection_fg_color(SkColorSetRGB(50, 50, 50)),
28 browser_handles_non_local_top_level_requests(false),
29 browser_handles_all_top_level_requests(false),
30 caret_blink_interval(0.5),
31 use_custom_colors(true),
32 enable_referrers(true),
33 enable_do_not_track(false),
34 enable_webrtc_multiple_routes(true),
35 default_zoom_level(0),
36 report_frame_name_changes(false),
37 tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP),
38 disable_client_blocked_error_page(false),
39 plugin_fullscreen_allowed(true),
40 use_video_overlay_for_embedded_encrypted_video(false),
41 use_view_overlay_for_all_video(false)
42 #if defined(OS_WIN)
43 , caption_font_height(0),
44 small_caption_font_height(0),
45 menu_font_height(0),
46 status_font_height(0),
47 message_font_height(0),
48 vertical_scroll_bar_width_in_dips(0),
49 horizontal_scroll_bar_height_in_dips(0),
50 arrow_bitmap_height_vertical_scroll_bar_in_dips(0),
51 arrow_bitmap_width_horizontal_scroll_bar_in_dips(0)
52 #endif
53 , default_font_size(0)
56 RendererPreferences::~RendererPreferences() { }
58 } // namespace content