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

Unified Diff: third_party/WebKit/public/platform/WebScrollbarThemePainter.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
Index: third_party/WebKit/public/platform/WebScrollbarThemePainter.h
diff --git a/third_party/WebKit/public/platform/WebScrollbarThemePainter.h b/third_party/WebKit/public/platform/WebScrollbarThemePainter.h
index 665e746c760580fb788d3143ee823b9e8d610c6a..b46df87ae6e077271bd28207536548e7a9c3fcc0 100644
--- a/third_party/WebKit/public/platform/WebScrollbarThemePainter.h
+++ b/third_party/WebKit/public/platform/WebScrollbarThemePainter.h
@@ -28,13 +28,14 @@
#include "public/platform/WebCanvas.h"
#include "public/platform/WebPrivatePtr.h"
+#include "public/platform/WebRect.h"
+#include "public/platform/WebSize.h"
namespace blink {
class ScrollbarTheme;
class Scrollbar;
class WebScrollbar;
-struct WebRect;
class WebScrollbarThemePainter {
public:
@@ -71,6 +72,8 @@ class WebScrollbarThemePainter {
BLINK_PLATFORM_EXPORT bool trackNeedsRepaint() const;
BLINK_PLATFORM_EXPORT bool thumbNeedsRepaint() const;
+ BLINK_PLATFORM_EXPORT bool usesNinePatchThumbResource() const;
+
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT WebScrollbarThemePainter(ScrollbarTheme&,
Scrollbar&,
« no previous file with comments | « third_party/WebKit/public/platform/WebScrollbarThemeGeometry.h ('k') | third_party/WebKit/public/platform/WebThemeEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698