This source file includes following definitions.
- plugin_fullscreen_allowed
#include "content/public/common/renderer_preferences.h"
#include "third_party/skia/include/core/SkColor.h"
namespace {
const float kDefaultAlpha = -5.70762e+03f;
const float kDefaultBeta = 1.72e+02f;
const float kDefaultGamma = 3.7e+00f;
}
namespace content {
RendererPreferences::RendererPreferences()
: can_accept_load_drops(true),
should_antialias_text(true),
hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT),
use_autohinter(false),
use_bitmaps(false),
subpixel_rendering(
RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT),
use_subpixel_positioning(false),
focus_ring_color(SkColorSetARGB(255, 229, 151, 0)),
thumb_active_color(SkColorSetRGB(244, 244, 244)),
thumb_inactive_color(SkColorSetRGB(234, 234, 234)),
track_color(SkColorSetRGB(211, 211, 211)),
active_selection_bg_color(SkColorSetRGB(30, 144, 255)),
active_selection_fg_color(SK_ColorWHITE),
inactive_selection_bg_color(SkColorSetRGB(200, 200, 200)),
inactive_selection_fg_color(SkColorSetRGB(50, 50, 50)),
browser_handles_non_local_top_level_requests(false),
browser_handles_all_top_level_requests(false),
caret_blink_interval(0.5),
use_custom_colors(true),
enable_referrers(true),
enable_do_not_track(false),
default_zoom_level(0),
report_frame_name_changes(false),
touchpad_fling_profile(3),
touchscreen_fling_profile(3),
tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP),
disable_client_blocked_error_page(false),
plugin_fullscreen_allowed(true) {
touchpad_fling_profile[0] = kDefaultAlpha;
touchpad_fling_profile[1] = kDefaultBeta;
touchpad_fling_profile[2] = kDefaultGamma;
touchscreen_fling_profile = touchpad_fling_profile;
}
RendererPreferences::~RendererPreferences() { }
}