summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 15:23:56 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 15:23:56 +0000
commit678e68ab1a5fa99f07634cce9ac22a6d700436df (patch)
tree86faec083f04f6b58b7366f5750cb802d16a5d0e /build
parentd49eebd7d137ca82ee7eeb206788a24fb99b7dbc (diff)
downloadchromium_src-678e68ab1a5fa99f07634cce9ac22a6d700436df.zip
chromium_src-678e68ab1a5fa99f07634cce9ac22a6d700436df.tar.gz
chromium_src-678e68ab1a5fa99f07634cce9ac22a6d700436df.tar.bz2
Enable smooth scrolling on mac
This confuses a few unit tests, so add some machinery to disable the feature in tests and do so in the tests that need it. BUG=61140,575 TEST=Go to en.wikipedia.org, hit space. Scroll should be animated. Review URL: http://codereview.chromium.org/7693019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index b6f7fe8..a19b002 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -277,8 +277,8 @@
'webui_task_manager%': 0,
}],
- # Enable smooth scrolling for Linux and ChromeOS
- ['OS=="linux"', {
+ # Enable smooth scrolling for Mac, Linux and ChromeOS
+ ['OS=="linux" or OS=="mac"', {
'enable_smooth_scrolling%': 1,
}, {
'enable_smooth_scrolling%': 0,