Chromium Code Reviews

Unified Diff: cc/input/scrollbar.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « cc/blink/web_scrollbar_layer_impl.cc ('k') | cc/layers/nine_patch_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/scrollbar.h
diff --git a/cc/input/scrollbar.h b/cc/input/scrollbar.h
index 69fbd3262bcb83d08b5d2cdc84492fa645dcb6a9..d159dba7b1708043509682e6b034c87ee2355a09 100644
--- a/cc/input/scrollbar.h
+++ b/cc/input/scrollbar.h
@@ -35,6 +35,9 @@ class Scrollbar {
virtual void PaintPart(PaintCanvas* canvas,
ScrollbarPart part,
const gfx::Rect& content_rect) = 0;
+ virtual bool UsesNinePatchThumbResource() const = 0;
+ virtual gfx::Size NinePatchThumbCanvasSize() const = 0;
+ virtual gfx::Rect NinePatchThumbAperture() const = 0;
};
} // namespace cc
« no previous file with comments | « cc/blink/web_scrollbar_layer_impl.cc ('k') | cc/layers/nine_patch_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine