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

Unified Diff: third_party/WebKit/Source/core/paint/ThemePainterMac.h

Issue 2309593002: Factor code from ThemeMac into ThemeMacPainter. (Closed)
Patch Set: none Created 4 years, 3 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/core/paint/ThemePainterMac.h
diff --git a/third_party/WebKit/Source/core/paint/ThemePainterMac.h b/third_party/WebKit/Source/core/paint/ThemePainterMac.h
index 63f2cb30d354bbaf8a168931d89d33e81111e83b..16645773e72d4304345d7a9516f68f6e687b1ff6 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainterMac.h
+++ b/third_party/WebKit/Source/core/paint/ThemePainterMac.h
@@ -32,19 +32,23 @@ class LayoutThemeMac;
class ThemePainterMac final : public ThemePainter {
public:
- ThemePainterMac(LayoutThemeMac&, Theme*);
+ ThemePainterMac(LayoutThemeMac&);
private:
+ bool paintButton(const LayoutObject&, const PaintInfo&, const IntRect&) override;
+ bool paintCheckbox(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintCapsLockIndicator(const LayoutObject&, const PaintInfo&, const IntRect&) override;
- bool paintTextField(const LayoutObject&, const PaintInfo&, const IntRect&) override;
- bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntRect&) override;
+ bool paintInnerSpinButton(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintMenuList(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintMenuListButton(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintProgressBar(const LayoutObject&, const PaintInfo&, const IntRect&) override;
- bool paintSliderTrack(const LayoutObject&, const PaintInfo&, const IntRect&) override;
+ bool paintRadio(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintSliderThumb(const LayoutObject&, const PaintInfo&, const IntRect&) override;
+ bool paintSliderTrack(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintSearchField(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintSearchFieldCancelButton(const LayoutObject&, const PaintInfo&, const IntRect&) override;
+ bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntRect&) override;
+ bool paintTextField(const LayoutObject&, const PaintInfo&, const IntRect&) override;
LayoutThemeMac& m_layoutTheme;
};
« no previous file with comments | « third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp ('k') | third_party/WebKit/Source/core/paint/ThemePainterMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698