summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/peer_daemon_manager_client.cc
diff options
context:
space:
mode:
authorbokan <bokan@chromium.org>2016-02-17 15:22:10 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-17 23:22:59 +0000
commitb9c004266f7f0d0380935dfc8a527bb08409627d (patch)
treea7677af0bd80ed3826c69d47762c05d9b4224ca5 /chromeos/dbus/peer_daemon_manager_client.cc
parent324897d72015abb00a5f7c682fbdc2e5d82619b0 (diff)
downloadchromium_src-b9c004266f7f0d0380935dfc8a527bb08409627d.zip
chromium_src-b9c004266f7f0d0380935dfc8a527bb08409627d.tar.gz
chromium_src-b9c004266f7f0d0380935dfc8a527bb08409627d.tar.bz2
Make scrollAnimatorEnabled work on Mac like it does on other platforms
Mac currently has a separate path to enable/disable scroll animations in Blink. Instead of using the existing Blink setting for scroll animations, ScrollbarThemeMacCommon sets a flag scrollAnimationEnabledForSystem which is then checked along side the Blink setting. A side-effect of this is that --(disable|enable)-scroll-animator doesn't work on Mac and layout tests default to scroll animations disabled with no way to turn them on. This patch removes the scrollAnimationEnabledForSystem flag and instead unifies this setting with how it's handled on other platforms. When Blink settings are computed, the OSX setting is queried and set into the usual enable_scroll_animator setting. Changes to the OSX setting cause the browser process to recalculate and apply new Blink settings. This allows layout tests to use internals.settings.setScrollAnimatorEnabled to allow testing of scroll animation semantics on Mac. BUG= Review URL: https://codereview.chromium.org/1653003002 Cr-Commit-Position: refs/heads/master@{#376025}
Diffstat (limited to 'chromeos/dbus/peer_daemon_manager_client.cc')
0 files changed, 0 insertions, 0 deletions