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

Unified Diff: third_party/WebKit/public/platform/WebCompositorSupport.h

Issue 2728253002: Remove indirection: setup scrollbar scroll layers in the scrollbar constructor (Closed)
Patch Set: Really fix reivewer comment Created 3 years, 9 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
Index: third_party/WebKit/public/platform/WebCompositorSupport.h
diff --git a/third_party/WebKit/public/platform/WebCompositorSupport.h b/third_party/WebKit/public/platform/WebCompositorSupport.h
index 5c3f706aaa1df1a1fad42dc185e13156fe8d99bd..348e8a15986acb7b08e3606b6e04763f10af28b9 100644
--- a/third_party/WebKit/public/platform/WebCompositorSupport.h
+++ b/third_party/WebKit/public/platform/WebCompositorSupport.h
@@ -68,18 +68,21 @@ class WebCompositorSupport {
virtual std::unique_ptr<WebScrollbarLayer> createScrollbarLayer(
std::unique_ptr<WebScrollbar>,
WebScrollbarThemePainter,
- std::unique_ptr<WebScrollbarThemeGeometry>) = 0;
+ std::unique_ptr<WebScrollbarThemeGeometry>,
+ WebLayer* scrollLayer) = 0;
virtual std::unique_ptr<WebScrollbarLayer> createOverlayScrollbarLayer(
std::unique_ptr<WebScrollbar>,
WebScrollbarThemePainter,
- std::unique_ptr<WebScrollbarThemeGeometry>) = 0;
+ std::unique_ptr<WebScrollbarThemeGeometry>,
+ WebLayer* scrollLayer) = 0;
virtual std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer(
WebScrollbar::Orientation,
int thumbThickness,
int trackStart,
- bool isLeftSideVerticalScrollbar) = 0;
+ bool isLeftSideVerticalScrollbar,
+ WebLayer* scrollLayer) = 0;
protected:
virtual ~WebCompositorSupport() {}
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/platform/WebScrollbarLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698