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

Unified Diff: cc/blink/web_compositor_support_impl.cc

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Move CheckGeometryLimitations back to where it used to be (AppendQuads) Created 3 years, 10 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 | « cc/blink/web_compositor_support_impl.h ('k') | cc/blink/web_scrollbar_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_compositor_support_impl.cc
diff --git a/cc/blink/web_compositor_support_impl.cc b/cc/blink/web_compositor_support_impl.cc
index ac2b81589d687592b6428e2e44c7a20122be4eec..7bb783e571639f56cf8bce033cc2e443cd95b58d 100644
--- a/cc/blink/web_compositor_support_impl.cc
+++ b/cc/blink/web_compositor_support_impl.cc
@@ -71,6 +71,15 @@ WebCompositorSupportImpl::createScrollbarLayer(
}
std::unique_ptr<WebScrollbarLayer>
+WebCompositorSupportImpl::createOverlayScrollbarLayer(
+ std::unique_ptr<WebScrollbar> scrollbar,
+ WebScrollbarThemePainter painter,
+ std::unique_ptr<WebScrollbarThemeGeometry> geometry) {
+ return base::MakeUnique<WebScrollbarLayerImpl>(std::move(scrollbar), painter,
+ std::move(geometry), true);
+}
+
+std::unique_ptr<WebScrollbarLayer>
WebCompositorSupportImpl::createSolidColorScrollbarLayer(
WebScrollbar::Orientation orientation,
int thumb_thickness,
« no previous file with comments | « cc/blink/web_compositor_support_impl.h ('k') | cc/blink/web_scrollbar_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698