diff options
author | scottbyer@chromium.org <scottbyer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 00:05:39 +0000 |
---|---|---|
committer | scottbyer@chromium.org <scottbyer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 00:05:39 +0000 |
commit | a22ebd8195be28d72b49073cbcaa4d9b750d495d (patch) | |
tree | 74435123982cba6c4615403d9bcbdc8857809f5e /chrome/chrome_browser.gypi | |
parent | 0f1373a184a3a1495b3b3b35387f75f15609f3e1 (diff) | |
download | chromium_src-a22ebd8195be28d72b49073cbcaa4d9b750d495d.zip chromium_src-a22ebd8195be28d72b49073cbcaa4d9b750d495d.tar.gz chromium_src-a22ebd8195be28d72b49073cbcaa4d9b750d495d.tar.bz2 |
Linux/CrOS smooth scrolling support - behind a flag.
Add runtime flag to control smooth scrolling. Add compile time flag handling for a GYP_DEFINE (enable_smooth_scrolling=1).
BUG=575,61140
TEST=compile still works without the flag. Compiling with the flag works once the WebKit change is landed, and then the flag appears in the about:flags page, and actually turns on that WebKit implementation.
Review URL: http://codereview.chromium.org/7034052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90136 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rw-r--r-- | chrome/chrome_browser.gypi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index ad08b00..5c6cec9 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -4512,6 +4512,11 @@ ['exclude', '^browser/ui/views/file_manager_dialog.h'], ]} ], + ['enable_smooth_scrolling==1', { + 'defines': [ + 'ENABLE_SMOOTH_SCROLLING', + ], + }], ], }, { |