Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3928)

Unified Diff: build/features_override.gypi

Issue 7034052: Linux/CrOS smooth scrolling support - behind a flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove compile flag in webkit/glue/webpreferences Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | chrome/app/generated_resources.grd » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/features_override.gypi
diff --git a/build/features_override.gypi b/build/features_override.gypi
index 0fdf439f476530392f48626df25d6f7abd5eda54..c968afcb62c93574bcd546f9357857afdc6f84b5 100644
--- a/build/features_override.gypi
+++ b/build/features_override.gypi
@@ -83,12 +83,14 @@
'variables': {
'use_accelerated_compositing%': 1,
'use_threaded_compositing%': 0,
+ 'enable_smooth_scrolling%': 0,
'enable_svg%': 1,
'enable_touch_events%': 1,
'use_skia_gpu%': 0,
},
'use_accelerated_compositing%': '<(use_accelerated_compositing)',
'use_threaded_compositing%': '<(use_threaded_compositing)',
+ 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)',
'enable_svg%': '<(enable_svg)',
'enable_touch_events%': '<(enable_touch_events)',
'conditions': [
@@ -125,6 +127,11 @@
'ENABLE_REGISTER_PROTOCOL_HANDLER=1',
],
}],
+ ['enable_smooth_scrolling==1', {
+ 'feature_defines': [
+ 'ENABLE_SMOOTH_SCROLLING=1',
+ ],
+ }],
],
# TODO: If the need arises, create a mechanism that will intelligently
# merge the lists rather than replace one with the other. This may
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | chrome/app/generated_resources.grd » ('J')

Powered by Google App Engine
This is Rietveld 408576698