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

Unified Diff: third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Addressed sadrul@'s feedback 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
Index: third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h
diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h
index 195e2b641473239eb3d09728ccda7d2b31991270..b2e9e6cff8af0d38e61414702a83536a402da637 100644
--- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h
+++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h
@@ -55,6 +55,8 @@ class PLATFORM_EXPORT WebScrollbarThemeGeometryNative
WebRect backButtonEndRect(WebScrollbar*) override;
WebRect forwardButtonStartRect(WebScrollbar*) override;
WebRect forwardButtonEndRect(WebScrollbar*) override;
+ WebSize ninePatchThumbCanvasSize(WebScrollbar*) override;
+ WebRect ninePatchThumbAperture(WebScrollbar*) override;
private:
explicit WebScrollbarThemeGeometryNative(ScrollbarTheme&);

Powered by Google App Engine
This is Rietveld 408576698