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

Unified Diff: third_party/WebKit/public/platform/WebThemeEngine.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
« no previous file with comments | « third_party/WebKit/public/platform/WebScrollbarThemePainter.h ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebThemeEngine.h
diff --git a/third_party/WebKit/public/platform/WebThemeEngine.h b/third_party/WebKit/public/platform/WebThemeEngine.h
index 2387f462111bc2bf0ed1918521502caf8db4fd4b..51d6d1a5286f32ab169f5561e38231988e9fcf5a 100644
--- a/third_party/WebKit/public/platform/WebThemeEngine.h
+++ b/third_party/WebKit/public/platform/WebThemeEngine.h
@@ -33,13 +33,12 @@
#include "WebCanvas.h"
#include "WebColor.h"
+#include "WebRect.h"
#include "WebScrollbarOverlayColorTheme.h"
#include "WebSize.h"
namespace blink {
-struct WebRect;
-
class WebThemeEngine {
public:
// The current state of the associated Part.
@@ -159,6 +158,10 @@ class WebThemeEngine {
// the track while the height will be the minimum height.
virtual WebSize getSize(Part) { return WebSize(); }
+ virtual bool supportsNinePatch(Part) const { return false; }
+ virtual WebSize ninePatchCanvasSize(Part) const { return WebSize(); }
+ virtual WebRect ninePatchAperture(Part) const { return WebRect(); }
+
struct ScrollbarStyle {
int thumbThickness;
int scrollbarMargin;
« no previous file with comments | « third_party/WebKit/public/platform/WebScrollbarThemePainter.h ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698