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

Unified Diff: third_party/WebKit/public/platform/WebScrollbarThemeGeometry.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/public/platform/WebScrollbarThemeGeometry.h
diff --git a/third_party/WebKit/public/platform/WebScrollbarThemeGeometry.h b/third_party/WebKit/public/platform/WebScrollbarThemeGeometry.h
index a2c89794a39a6cc88129b59c1bb4fb16a5b72be8..c6291071f83c19e843d0ebef80abab956e252e6a 100644
--- a/third_party/WebKit/public/platform/WebScrollbarThemeGeometry.h
+++ b/third_party/WebKit/public/platform/WebScrollbarThemeGeometry.h
@@ -27,6 +27,7 @@
#define WebScrollbarThemeGeometry_h
#include "WebRect.h"
+#include "WebSize.h"
namespace blink {
@@ -44,6 +45,8 @@ class BLINK_PLATFORM_EXPORT WebScrollbarThemeGeometry {
virtual WebRect backButtonEndRect(WebScrollbar*) = 0;
virtual WebRect forwardButtonStartRect(WebScrollbar*) = 0;
virtual WebRect forwardButtonEndRect(WebScrollbar*) = 0;
+ virtual WebSize ninePatchThumbCanvasSize(WebScrollbar*) = 0;
+ virtual WebRect ninePatchThumbAperture(WebScrollbar*) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698