diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-22 17:36:49 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-22 17:36:49 +0000 |
commit | c28df4c12c5acfca195bd473ed11a2003634846e (patch) | |
tree | aa4f4a8aa86e6fab0331e65c833f80e6ec307f07 /cc/cc_tests.gyp | |
parent | 6c7a0fdd05370cd3899cffdc6170f9b0df8856a0 (diff) | |
download | chromium_src-c28df4c12c5acfca195bd473ed11a2003634846e.zip chromium_src-c28df4c12c5acfca195bd473ed11a2003634846e.tar.gz chromium_src-c28df4c12c5acfca195bd473ed11a2003634846e.tar.bz2 |
Remove cc/ dependency on WebKit::WebScrollbar*
This removes the compositor implementation's dependency on the WebKit scrollbar
family of classes. The compositor supports two types of scrollbars - those that
have arbitrarily painted content, used on most platforms, and solid color simple
scrollbars used on mobile platforms and for pinch.
The former grab their geometry and paint info on the main thread during the
update via the cc::Scrollbar interface, which for the WebKit embedding is
implemented by webkit/renderer/compositor_bindings/scrollbar_impl which uses the
WebKit WebScrollbar/WebScrollbarThemeGeometry/WebScrollbarThemePainter
interfaces to handles the complex positioning and part painting logic. The only
mutation we support on the compositor thread for these scrollbars is moving the
thumb, which is done in cc::ScrollbarLayerImpl::AppendQuads.
The latter simply have everything computed directly by cc::ScrollbarLayer(Impl).
BUG=can't find it
R=enne@chromium.org
Review URL: https://codereview.chromium.org/15349002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc_tests.gyp')
-rw-r--r-- | cc/cc_tests.gyp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp index 9f38f92..a65baf9 100644 --- a/cc/cc_tests.gyp +++ b/cc/cc_tests.gyp @@ -121,22 +121,18 @@ 'test/fake_proxy.cc', 'test/fake_proxy.h', 'test/fake_rendering_stats_instrumentation.h', + 'test/fake_scrollbar.cc', + 'test/fake_scrollbar.h', 'test/fake_scrollbar_layer.cc', 'test/fake_scrollbar_layer.h', - 'test/fake_scrollbar_theme_painter.h', - 'test/fake_scrollbar_theme_painter.cc', - 'test/fake_tile_manager.h', 'test/fake_tile_manager.cc', + 'test/fake_tile_manager.h', 'test/fake_tile_manager_client.h', 'test/fake_tile_manager_client.cc', 'test/fake_output_surface.cc', 'test/fake_output_surface.h', 'test/fake_video_frame_provider.cc', 'test/fake_video_frame_provider.h', - 'test/fake_web_scrollbar.cc', - 'test/fake_web_scrollbar.h', - 'test/fake_web_scrollbar_theme_geometry.cc', - 'test/fake_web_scrollbar_theme_geometry.h', 'test/geometry_test_utils.cc', 'test/geometry_test_utils.h', 'test/impl_side_painting_settings.h', |