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

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

Issue 1690493002: Switch to LayoutThemeMobile when emulating mobile device in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more mac compile Created 4 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/Source/core/paint/ThemePainterDefault.h
diff --git a/third_party/WebKit/Source/core/paint/ThemePainterDefault.h b/third_party/WebKit/Source/core/paint/ThemePainterDefault.h
index d0c596b93d0bd9503456d7b114f90f46688f52ce..38aa65552e84bb2c61287905b70f268a385092e7 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainterDefault.h
+++ b/third_party/WebKit/Source/core/paint/ThemePainterDefault.h
@@ -38,15 +38,17 @@ class LayoutBox;
class ThemePainterDefault final : public ThemePainter {
private:
+#if !USE(NEW_THEME)
bool paintCheckbox(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintRadio(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintButton(const LayoutObject&, const PaintInfo&, const IntRect&) override;
+ bool paintInnerSpinButton(const LayoutObject&, const PaintInfo&, const IntRect&) override;
+#endif
bool paintTextField(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 paintSliderTrack(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintSliderThumb(const LayoutObject&, const PaintInfo&, const IntRect&) override;
- bool paintInnerSpinButton(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintProgressBar(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntRect&) override;
bool paintSearchField(const LayoutObject&, const PaintInfo&, const IntRect&) override;

Powered by Google App Engine
This is Rietveld 408576698