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

Unified Diff: cc/blink/scrollbar_impl.h

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Finish Plumbing Created 4 years 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: cc/blink/scrollbar_impl.h
diff --git a/cc/blink/scrollbar_impl.h b/cc/blink/scrollbar_impl.h
index 4e4bdaedc25e7a5e2e304a71280cb06c61b7ebd1..541b4b32f79ee8de9e58083f3772c3180d6a22ba 100644
--- a/cc/blink/scrollbar_impl.h
+++ b/cc/blink/scrollbar_impl.h
@@ -40,6 +40,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') | cc/layers/overlay_scrollbar_layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698