chromium/out/Default/gen/third_party/blink/renderer/core/settings_base.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Generated from template:
//   templates/settings_base.cc.tmpl
// and input files:
//   ../../third_party/blink/renderer/core/frame/settings.json5


#include "third_party/blink/renderer/core/settings_base.h"

#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "third_party/blink/renderer/core/frame/settings_string_converter.h"

namespace blink {

SettingsBase::SettingsBase()
    :{}

void SettingsBase::SetDOMPasteAllowed(bool dom_paste_allowed) {}

void SettingsBase::SetDontSendKeyEventsToJavascript(bool dont_send_key_events_to_javascript) {}

void SettingsBase::SetHighlightAds(bool highlight_ads) {}

void SettingsBase::SetLCDTextPreference(LCDTextPreference lcd_text_preference) {}

void SettingsBase::SetNetworkQuietTimeout(double network_quiet_timeout) {}

void SettingsBase::SetWebXRImmersiveArAllowed(bool web_xr_immersive_ar_allowed) {}

void SettingsBase::SetAccelerated2dCanvasMSAASampleCount(int accelerated_2d_canvas_msaa_sample_count) {}

void SettingsBase::SetAcceleratedCompositingEnabled(bool accelerated_compositing_enabled) {}

void SettingsBase::SetAccessibilityAlwaysShowFocus(bool accessibility_always_show_focus) {}

void SettingsBase::SetAccessibilityFontScaleFactor(double accessibility_font_scale_factor) {}

void SettingsBase::SetAccessibilityFontWeightAdjustment(int accessibility_font_weight_adjustment) {}

void SettingsBase::SetAccessibilityIncludeSvgGElement(bool accessibility_include_svg_g_element) {}

void SettingsBase::SetAccessibilityPasswordValuesEnabled(bool accessibility_password_values_enabled) {}

void SettingsBase::SetAccessibilityTextSizeContrastFactor(int accessibility_text_size_contrast_factor) {}

void SettingsBase::SetAllowCustomScrollbarInMainFrame(bool allow_custom_scrollbar_in_main_frame) {}

void SettingsBase::SetAllowFileAccessFromFileURLs(bool allow_file_access_from_file_urls) {}

void SettingsBase::SetAllowGeolocationOnInsecureOrigins(bool allow_geolocation_on_insecure_origins) {}

void SettingsBase::SetAllowNonEmptyNavigatorPlugins(bool allow_non_empty_navigator_plugins) {}

void SettingsBase::SetAllowRunningOfInsecureContent(bool allow_running_of_insecure_content) {}

void SettingsBase::SetAllowScriptsToCloseWindows(bool allow_scripts_to_close_windows) {}

void SettingsBase::SetAllowUniversalAccessFromFileURLs(bool allow_universal_access_from_file_urls) {}

void SettingsBase::SetAlwaysShowContextMenuOnTouch(bool always_show_context_menu_on_touch) {}

void SettingsBase::SetAntialiased2dCanvasEnabled(bool antialiased_2d_canvas_enabled) {}

void SettingsBase::SetAntialiasedClips2dCanvasEnabled(bool antialiased_clips_2d_canvas_enabled) {}

void SettingsBase::SetAriaModalPrunesAXTree(bool aria_modal_prunes_ax_tree) {}

void SettingsBase::SetAutoplayPolicy(AutoplayPolicy::Type autoplay_policy) {}

void SettingsBase::SetAvailableHoverTypes(int available_hover_types) {}

void SettingsBase::SetAvailablePointerTypes(int available_pointer_types) {}

void SettingsBase::SetBarrelButtonForDragEnabled(bool barrel_button_for_drag_enabled) {}

void SettingsBase::SetBypassCSP(bool bypass_csp) {}

void SettingsBase::SetCaretBrowsingEnabled(bool caret_browsing_enabled) {}

void SettingsBase::SetCookieEnabled(bool cookie_enabled) {}

void SettingsBase::SetDefaultFixedFontSize(int default_fixed_font_size) {}

void SettingsBase::SetDefaultFontSize(int default_font_size) {}

void SettingsBase::SetDefaultTextEncodingName(const String& default_text_encoding_name) {}

void SettingsBase::SetDefaultVideoPosterURL(const String& default_video_poster_url) {}

void SettingsBase::SetDeviceScaleAdjustment(double device_scale_adjustment) {}

void SettingsBase::SetDisableReadingFromCanvas(bool disable_reading_from_canvas) {}

void SettingsBase::SetDisallowFetchForDocWrittenScriptsInMainFrame(bool disallow_fetch_for_doc_written_scripts_in_main_frame) {}

void SettingsBase::SetDisallowFetchForDocWrittenScriptsInMainFrameIfEffectively2G(bool disallow_fetch_for_doc_written_scripts_in_main_frame_if_effectively_2_g) {}

void SettingsBase::SetDisallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections(bool disallow_fetch_for_doc_written_scripts_in_main_frame_on_slow_connections) {}

void SettingsBase::SetDisplayModeOverride(blink::mojom::DisplayMode display_mode_override) {}

void SettingsBase::SetDNSPrefetchingEnabled(bool dns_prefetching_enabled) {}

void SettingsBase::SetDoHtmlPreloadScanning(bool do_html_preload_scanning) {}

void SettingsBase::SetDoNotUpdateSelectionOnMutatingSelectionRange(bool do_not_update_selection_on_mutating_selection_range) {}

void SettingsBase::SetDownloadableBinaryFontsEnabled(bool downloadable_binary_fonts_enabled) {}

void SettingsBase::SetEditingBehaviorType(mojom::EditingBehavior editing_behavior_type) {}

void SettingsBase::SetEmbeddedMediaExperienceEnabled(bool embedded_media_experience_enabled) {}

void SettingsBase::SetForceAndroidOverlayScrollbar(bool force_android_overlay_scrollbar) {}

void SettingsBase::SetForceDarkModeEnabled(bool force_dark_mode_enabled) {}

void SettingsBase::SetForceMainWorldInitialization(bool force_main_world_initialization) {}

void SettingsBase::SetForceTouchEventFeatureDetectionForInspector(bool force_touch_event_feature_detection_for_inspector) {}

void SettingsBase::SetForceZeroLayoutHeight(bool force_zero_layout_height) {}

void SettingsBase::SetFullscreenSupported(bool fullscreen_supported) {}

void SettingsBase::SetHideDownloadUI(bool hide_download_ui) {}

void SettingsBase::SetHideScrollbars(bool hide_scrollbars) {}

void SettingsBase::SetHyperlinkAuditingEnabled(bool hyperlink_auditing_enabled) {}

void SettingsBase::SetIgnoreMainFrameOverflowHiddenQuirk(bool ignore_main_frame_overflow_hidden_quirk) {}

void SettingsBase::SetImageAnimationPolicy(mojom::blink::ImageAnimationPolicy image_animation_policy) {}

void SettingsBase::SetImagesEnabled(bool images_enabled) {}

void SettingsBase::SetImmersiveModeEnabled(bool immersive_mode_enabled) {}

void SettingsBase::SetInForcedColors(bool in_forced_colors) {}

void SettingsBase::SetInvertedColors(bool inverted_colors) {}

void SettingsBase::SetIsForcedColorsDisabled(bool is_forced_colors_disabled) {}

void SettingsBase::SetJavaScriptCanAccessClipboard(bool java_script_can_access_clipboard) {}

void SettingsBase::SetLazyLoadEnabled(bool lazy_load_enabled) {}

void SettingsBase::SetLazyLoadingFrameMarginPx2G(int lazy_loading_frame_margin_px_2_g) {}

void SettingsBase::SetLazyLoadingFrameMarginPx3G(int lazy_loading_frame_margin_px_3_g) {}

void SettingsBase::SetLazyLoadingFrameMarginPx4G(int lazy_loading_frame_margin_px_4_g) {}

void SettingsBase::SetLazyLoadingFrameMarginPxOffline(int lazy_loading_frame_margin_px_offline) {}

void SettingsBase::SetLazyLoadingFrameMarginPxSlow2G(int lazy_loading_frame_margin_px_slow_2_g) {}

void SettingsBase::SetLazyLoadingFrameMarginPxUnknown(int lazy_loading_frame_margin_px_unknown) {}

void SettingsBase::SetLazyLoadingImageMarginPx2G(int lazy_loading_image_margin_px_2_g) {}

void SettingsBase::SetLazyLoadingImageMarginPx3G(int lazy_loading_image_margin_px_3_g) {}

void SettingsBase::SetLazyLoadingImageMarginPx4G(int lazy_loading_image_margin_px_4_g) {}

void SettingsBase::SetLazyLoadingImageMarginPxOffline(int lazy_loading_image_margin_px_offline) {}

void SettingsBase::SetLazyLoadingImageMarginPxSlow2G(int lazy_loading_image_margin_px_slow_2_g) {}

void SettingsBase::SetLazyLoadingImageMarginPxUnknown(int lazy_loading_image_margin_px_unknown) {}

void SettingsBase::SetLoadWithOverviewMode(bool load_with_overview_mode) {}

void SettingsBase::SetLoadsImagesAutomatically(bool loads_images_automatically) {}

void SettingsBase::SetLocalStorageEnabled(bool local_storage_enabled) {}

void SettingsBase::SetLogDnsPrefetchAndPreconnect(bool log_dns_prefetch_and_preconnect) {}

void SettingsBase::SetLogPreload(bool log_preload) {}

void SettingsBase::SetLowPriorityIframesThreshold(WebEffectiveConnectionType low_priority_iframes_threshold) {}

void SettingsBase::SetMainFrameClipsContent(bool main_frame_clips_content) {}

void SettingsBase::SetMainFrameResizesAreOrientationChanges(bool main_frame_resizes_are_orientation_changes) {}

void SettingsBase::SetMaxTouchPoints(int max_touch_points) {}

void SettingsBase::SetMediaControlsEnabled(bool media_controls_enabled) {}

void SettingsBase::SetMediaTypeOverride(const String& media_type_override) {}

void SettingsBase::SetMinimumFontSize(int minimum_font_size) {}

void SettingsBase::SetMinimumLogicalFontSize(int minimum_logical_font_size) {}

void SettingsBase::SetMockGestureTapHighlightsEnabled(bool mock_gesture_tap_highlights_enabled) {}

void SettingsBase::SetModalContextMenu(bool modal_context_menu) {}

void SettingsBase::SetMultiTargetTapNotificationEnabled(bool multi_target_tap_notification_enabled) {}

void SettingsBase::SetNavigateOnDragDrop(bool navigate_on_drag_drop) {}

void SettingsBase::SetNavigationControls(NavigationControls navigation_controls) {}

void SettingsBase::SetNavigatorPlatformOverride(const String& navigator_platform_override) {}

void SettingsBase::SetOutputDeviceUpdateAbilityType(mojom::blink::OutputDeviceUpdateAbilityType output_device_update_ability_type) {}

void SettingsBase::SetParserScriptingFlagPolicy(ParserScriptingFlagPolicy parser_scripting_flag_policy) {}

void SettingsBase::SetPasswordEchoDurationInSeconds(double password_echo_duration_in_seconds) {}

void SettingsBase::SetPasswordEchoEnabled(bool password_echo_enabled) {}

void SettingsBase::SetPictureInPictureEnabled(bool picture_in_picture_enabled) {}

void SettingsBase::SetPlaceRTLScrollbarsOnLeftSideInMainFrame(bool place_rtl_scrollbars_on_left_side_in_main_frame) {}

void SettingsBase::SetPluginsEnabled(bool plugins_enabled) {}

void SettingsBase::SetPreferHiddenVolumeControls(bool prefer_hidden_volume_controls) {}

void SettingsBase::SetPreferredColorScheme(mojom::blink::PreferredColorScheme preferred_color_scheme) {}

void SettingsBase::SetPreferredContrast(mojom::blink::PreferredContrast preferred_contrast) {}

void SettingsBase::SetPreferredRootScrollbarColorScheme(mojom::blink::PreferredColorScheme preferred_root_scrollbar_color_scheme) {}

void SettingsBase::SetPrefersDefaultScrollbarStyles(bool prefers_default_scrollbar_styles) {}

void SettingsBase::SetPrefersReducedMotion(bool prefers_reduced_motion) {}

void SettingsBase::SetPrefersReducedTransparency(bool prefers_reduced_transparency) {}

void SettingsBase::SetPresentationReceiver(bool presentation_receiver) {}

void SettingsBase::SetPresentationRequiresUserGesture(bool presentation_requires_user_gesture) {}

void SettingsBase::SetPrimaryHoverType(mojom::blink::HoverType primary_hover_type) {}

void SettingsBase::SetPrimaryPointerType(blink::mojom::PointerType primary_pointer_type) {}

void SettingsBase::SetPrintingMaximumShrinkFactor(float printing_maximum_shrink_factor) {}

void SettingsBase::SetReportScreenSizeInPhysicalPixelsQuirk(bool report_screen_size_in_physical_pixels_quirk) {}

void SettingsBase::SetRequireTransientActivationAndAuthorizationForSubAppsAPI(bool require_transient_activation_and_authorization_for_sub_apps_api) {}

void SettingsBase::SetRequireTransientActivationForGetDisplayMedia(bool require_transient_activation_for_get_display_media) {}

void SettingsBase::SetRequireTransientActivationForShowFileOrDirectoryPicker(bool require_transient_activation_for_show_file_or_directory_picker) {}

void SettingsBase::SetResizable(bool resizable) {}

void SettingsBase::SetRubberBandingOnCompositorThread(bool rubber_banding_on_compositor_thread) {}

void SettingsBase::SetScriptEnabled(bool script_enabled) {}

void SettingsBase::SetScrollAnimatorEnabled(bool scroll_animator_enabled) {}

void SettingsBase::SetSelectTrailingWhitespaceEnabled(bool select_trailing_whitespace_enabled) {}

void SettingsBase::SetSelectionClipboardBufferAvailable(bool selection_clipboard_buffer_available) {}

void SettingsBase::SetSelectionIncludesAltImageText(bool selection_includes_alt_image_text) {}

void SettingsBase::SetSelectionStrategy(SelectionStrategy selection_strategy) {}

void SettingsBase::SetShouldClearDocumentBackground(bool should_clear_document_background) {}

void SettingsBase::SetShouldPrintBackgrounds(bool should_print_backgrounds) {}

void SettingsBase::SetShouldProtectAgainstIpcFlooding(bool should_protect_against_ipc_flooding) {}

void SettingsBase::SetShouldReuseGlobalForUnownedMainFrame(bool should_reuse_global_for_unowned_main_frame) {}

void SettingsBase::SetShowContextMenuOnMouseUp(bool show_context_menu_on_mouse_up) {}

void SettingsBase::SetShrinksViewportContentToFit(bool shrinks_viewport_content_to_fit) {}

void SettingsBase::SetSmartInsertDeleteEnabled(bool smart_insert_delete_enabled) {}

void SettingsBase::SetSmoothScrollForFindEnabled(bool smooth_scroll_for_find_enabled) {}

void SettingsBase::SetSpatialNavigationEnabled(bool spatial_navigation_enabled) {}

void SettingsBase::SetSpellCheckEnabledByDefault(bool spell_check_enabled_by_default) {}

void SettingsBase::SetStrictMixedContentChecking(bool strict_mixed_content_checking) {}

void SettingsBase::SetStrictMixedContentCheckingForPlugin(bool strict_mixed_content_checking_for_plugin) {}

void SettingsBase::SetStrictPowerfulFeatureRestrictions(bool strict_powerful_feature_restrictions) {}

void SettingsBase::SetStrictlyBlockBlockableMixedContent(bool strictly_block_blockable_mixed_content) {}

void SettingsBase::SetSupportsMultipleWindows(bool supports_multiple_windows) {}

void SettingsBase::SetSyncXHRInDocumentsEnabled(bool sync_xhr_in_documents_enabled) {}

void SettingsBase::SetTargetBlankImpliesNoOpenerEnabledWillBeRemoved(bool target_blank_implies_no_opener_enabled_will_be_removed) {}

void SettingsBase::SetTextAreasAreResizable(bool text_areas_are_resizable) {}

void SettingsBase::SetTextAutosizingEnabled(bool text_autosizing_enabled) {}

void SettingsBase::SetTextAutosizingWindowSizeOverride(gfx::Size text_autosizing_window_size_override) {}

void SettingsBase::SetTextTrackBackgroundColor(const String& text_track_background_color) {}

void SettingsBase::SetTextTrackFontFamily(const String& text_track_font_family) {}

void SettingsBase::SetTextTrackFontStyle(const String& text_track_font_style) {}

void SettingsBase::SetTextTrackFontVariant(const String& text_track_font_variant) {}

void SettingsBase::SetTextTrackKindUserPreference(TextTrackKindUserPreference text_track_kind_user_preference) {}

void SettingsBase::SetTextTrackMarginPercentage(double text_track_margin_percentage) {}

void SettingsBase::SetTextTrackTextColor(const String& text_track_text_color) {}

void SettingsBase::SetTextTrackTextShadow(const String& text_track_text_shadow) {}

void SettingsBase::SetTextTrackTextSize(const String& text_track_text_size) {}

void SettingsBase::SetTextTrackWindowColor(const String& text_track_window_color) {}

void SettingsBase::SetTextTrackWindowRadius(const String& text_track_window_radius) {}

void SettingsBase::SetTouchDragDropEnabled(bool touch_drag_drop_enabled) {}

void SettingsBase::SetTouchDragEndContextMenu(bool touch_drag_end_context_menu) {}

void SettingsBase::SetTouchEditingEnabled(bool touch_editing_enabled) {}

void SettingsBase::SetUseAXMenuList(bool use_ax_menu_list) {}

void SettingsBase::SetUseWideViewport(bool use_wide_viewport) {}

void SettingsBase::SetV8CacheOptions(mojom::blink::V8CacheOptions v8_cache_options) {}

void SettingsBase::SetValidationMessageTimerMagnification(int validation_message_timer_magnification) {}

void SettingsBase::SetViewportEnabled(bool viewport_enabled) {}

void SettingsBase::SetViewportMetaEnabled(bool viewport_meta_enabled) {}

void SettingsBase::SetViewportMetaMergeContentQuirk(bool viewport_meta_merge_content_quirk) {}

void SettingsBase::SetViewportMetaZeroValuesQuirk(bool viewport_meta_zero_values_quirk) {}

void SettingsBase::SetViewportStyle(mojom::blink::ViewportStyle viewport_style) {}

void SettingsBase::SetWebAppScope(const String& web_app_scope) {}

void SettingsBase::SetWebGL1Enabled(bool web_gl_1_enabled) {}

void SettingsBase::SetWebGL2Enabled(bool webgl2_enabled) {}

void SettingsBase::SetWebGLErrorsToConsoleEnabled(bool web_gl_errors_to_console_enabled) {}

void SettingsBase::SetWebSecurityEnabled(bool web_security_enabled) {}

void SettingsBase::SetWideViewportQuirkEnabled(bool wide_viewport_quirk_enabled) {}

void SettingsBase::SetWindowShowState(ui::WindowShowState window_show_state) {}


void SettingsBase::SetFromStrings(const String& name, const String& value) {}

void SettingsBase::SetDelegate(SettingsDelegate* delegate) {}

void SettingsBase::Invalidate(SettingsDelegate::ChangeType change_type) {}

}  // namespace blink