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

Unified Diff: third_party/WebKit/Source/core/paint/ThemePainter.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/ThemePainter.h
diff --git a/third_party/WebKit/Source/core/paint/ThemePainter.h b/third_party/WebKit/Source/core/paint/ThemePainter.h
index 2c8bbc8c86d658a616a8b6f0e593d0ad4b6f1669..0728b1d3782ec4236026b559a3073c78b89d0063 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainter.h
+++ b/third_party/WebKit/Source/core/paint/ThemePainter.h
@@ -30,14 +30,13 @@ namespace blink {
class IntRect;
class LayoutObject;
-class Theme;
struct PaintInfo;
class ThemePainter {
DISALLOW_NEW();
public:
- explicit ThemePainter(Theme*);
+ explicit ThemePainter();
// This method is called to paint the widget as a background of the LayoutObject. A widget's foreground, e.g., the
// text of a button, is always rendered by the engine itself. The boolean return value indicates
@@ -67,9 +66,6 @@ protected:
bool paintUsingFallbackTheme(const LayoutObject&, const PaintInfo&, const IntRect&);
bool paintCheckboxUsingFallbackTheme(const LayoutObject&, const PaintInfo&, const IntRect&);
bool paintRadioUsingFallbackTheme(const LayoutObject&, const PaintInfo&, const IntRect&);
-
-private:
- Theme* m_platformTheme; // The platform-specific theme.
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeMac.mm ('k') | third_party/WebKit/Source/core/paint/ThemePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698