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

Unified Diff: cc/blink/scrollbar_impl.h

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/BUILD.gn ('k') | cc/blink/scrollbar_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/scrollbar_impl.h
diff --git a/cc/blink/scrollbar_impl.h b/cc/blink/scrollbar_impl.h
index d5c3052c40728f0a909c6e5a047226d4818a3e94..c0534d5b5e7f6ad4f3b6b93fb40d12a53b195a0e 100644
--- a/cc/blink/scrollbar_impl.h
+++ b/cc/blink/scrollbar_impl.h
@@ -41,6 +41,10 @@ class ScrollbarImpl : public cc::Scrollbar {
cc::ScrollbarPart part,
const gfx::Rect& content_rect) override;
+ bool UsesNinePatchThumbResource() const override;
+ gfx::Size NinePatchThumbCanvasSize() const override;
+ gfx::Rect NinePatchThumbAperture() const override;
+
private:
std::unique_ptr<blink::WebScrollbar> scrollbar_;
blink::WebScrollbarThemePainter painter_;
« no previous file with comments | « cc/BUILD.gn ('k') | cc/blink/scrollbar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698