diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-13 16:23:34 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-14 10:37:21 +0000 |
commit | 38a9a29f4f9436cace7f0e7abf9c586057df8a4e (patch) | |
tree | c4e8c458dc595bc0ddb435708fa2229edfd00bd4 /chromium/third_party/blink/renderer/core/exported/web_settings_impl.cc | |
parent | e684a3455bcc29a6e3e66a004e352dea4e1141e7 (diff) | |
download | qtwebengine-chromium-38a9a29f4f9436cace7f0e7abf9c586057df8a4e.tar.gz |
BASELINE: Update Chromium to 73.0.3683.37
Change-Id: I08c9af2948b645f671e5d933aca1f7a90ea372f2
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/exported/web_settings_impl.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/exported/web_settings_impl.cc | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/chromium/third_party/blink/renderer/core/exported/web_settings_impl.cc b/chromium/third_party/blink/renderer/core/exported/web_settings_impl.cc index 67f8c013de1..9eee26ccff3 100644 --- a/chromium/third_party/blink/renderer/core/exported/web_settings_impl.cc +++ b/chromium/third_party/blink/renderer/core/exported/web_settings_impl.cc @@ -42,8 +42,6 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings, DevToolsEmulator* dev_tools_emulator) : settings_(settings), dev_tools_emulator_(dev_tools_emulator), - show_fps_counter_(false), - show_paint_rects_(false), render_v_sync_notification_enabled_(false), auto_zoom_focused_node_to_legible_scale_(false), support_deprecated_target_density_dpi_(false), @@ -259,12 +257,6 @@ void WebSettingsImpl::SetShouldReuseGlobalForUnownedMainFrame(bool enabled) { settings_->SetShouldReuseGlobalForUnownedMainFrame(enabled); } -void WebSettingsImpl::SetSavePreviousDocumentResources( - SavePreviousDocumentResources save_resources) { - settings_->SetSavePreviousDocumentResources( - static_cast<blink::SavePreviousDocumentResources>(save_resources)); -} - void WebSettingsImpl::SetPluginsEnabled(bool enabled) { dev_tools_emulator_->SetPluginsEnabled(enabled); } @@ -461,14 +453,6 @@ void WebSettingsImpl::SetShowContextMenuOnMouseUp(bool enabled) { settings_->SetShowContextMenuOnMouseUp(enabled); } -void WebSettingsImpl::SetShowFPSCounter(bool show) { - show_fps_counter_ = show; -} - -void WebSettingsImpl::SetShowPaintRects(bool show) { - show_paint_rects_ = show; -} - void WebSettingsImpl::SetEditingBehavior(EditingBehavior behavior) { settings_->SetEditingBehaviorType(static_cast<EditingBehaviorType>(behavior)); } @@ -513,6 +497,10 @@ void WebSettingsImpl::SetPresentationReceiver(bool enabled) { settings_->SetPresentationReceiver(enabled); } +void WebSettingsImpl::SetHighlightAds(bool enabled) { + settings_->SetHighlightAds(enabled); +} + void WebSettingsImpl::SetHistoryEntryRequiresUserGesture(bool enabled) { settings_->SetHistoryEntryRequiresUserGesture(enabled); } @@ -564,10 +552,6 @@ void WebSettingsImpl::SetPasswordEchoDurationInSeconds( settings_->SetPasswordEchoDurationInSeconds(duration_in_seconds); } -void WebSettingsImpl::SetPerTilePaintingEnabled(bool enabled) { - per_tile_painting_enabled_ = enabled; -} - void WebSettingsImpl::SetShouldPrintBackgrounds(bool enabled) { settings_->SetShouldPrintBackgrounds(enabled); } @@ -580,6 +564,10 @@ void WebSettingsImpl::SetEnableScrollAnimator(bool enabled) { settings_->SetScrollAnimatorEnabled(enabled); } +void WebSettingsImpl::SetPrefersReducedMotion(bool enabled) { + settings_->SetPrefersReducedMotion(enabled); +} + void WebSettingsImpl::SetEnableTouchAdjustment(bool enabled) { settings_->SetTouchAdjustmentEnabled(enabled); } @@ -616,13 +604,8 @@ void WebSettingsImpl::SetDataSaverHoldbackWebApi(bool enabled) { settings_->SetDataSaverHoldbackWebApi(enabled); } -void WebSettingsImpl::SetDataSaverHoldbackMediaApi(bool enabled) { - settings_->SetDataSaverHoldbackMediaApi(enabled); -} - -void WebSettingsImpl::SetMediaPlaybackGestureWhitelistScope( - const WebString& scope) { - settings_->SetMediaPlaybackGestureWhitelistScope(scope); +void WebSettingsImpl::SetWebAppScope(const WebString& scope) { + settings_->SetWebAppScope(scope); } void WebSettingsImpl::SetPresentationRequiresUserGesture(bool required) { |