diff options
author | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 15:22:17 +0000 |
---|---|---|
committer | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 15:22:17 +0000 |
commit | 429530bcff087403123cecafedbd93022fb74746 (patch) | |
tree | 053d4fd62c1381fd84af62c0ce95848c4eb6bd84 /webkit/common/webpreferences.cc | |
parent | d983eb45551db49966fde1aad60ba5b564cdc019 (diff) | |
download | chromium_src-429530bcff087403123cecafedbd93022fb74746.zip chromium_src-429530bcff087403123cecafedbd93022fb74746.tar.gz chromium_src-429530bcff087403123cecafedbd93022fb74746.tar.bz2 |
Add a flag for enabling/disabling the new accelerated scrolling path
We now have two accelerated scrolling paths. One accelerates scrolling whenever
it's safe to promote the overflow scrolling div to a stacking container /
containing block and not break stacking or clipping.
The new path, the 'universal' path, enables accelerated scrolling in those cases
where the old path would not opt-in.
Eventually, we'd like to eliminate the old path, but this will require layer
squashing (the new path can result in many composited layers that ought to be
combined -- i.e., a 'layer explosion'). Until these paths are mature, we need to
be able to enable and disable them both, so we have two separate sets of flags.
Once we've eliminated the old path, we can replace both with
--[enable/disable]-accelerated-overflow-scroll (and eventually get rid of both
sets of flags).
BUG=None
Review URL: https://codereview.chromium.org/26809004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/common/webpreferences.cc')
-rw-r--r-- | webkit/common/webpreferences.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/common/webpreferences.cc b/webkit/common/webpreferences.cc index 425c472..a41bd58 100644 --- a/webkit/common/webpreferences.cc +++ b/webkit/common/webpreferences.cc @@ -56,6 +56,7 @@ WebPreferences::WebPreferences() privileged_webgl_extensions_enabled(false), webgl_errors_to_console_enabled(true), accelerated_compositing_for_overflow_scroll_enabled(false), + universal_accelerated_compositing_for_overflow_scroll_enabled(false), accelerated_compositing_for_scrollable_frames_enabled(false), composited_scrolling_for_frames_enabled(false), mock_scrollbars_enabled(false), |