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

Side by Side 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: Invalidate tapHighlightColor only 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of the WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
6 * Copyright (C) 2007 Holger Hans Peter Freyther 6 * Copyright (C) 2007 Holger Hans Peter Freyther
7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
8 * Copyright (C) 2008, 2009 Google, Inc. 8 * Copyright (C) 2008, 2009 Google, Inc.
9 * All rights reserved. 9 * All rights reserved.
10 * Copyright (C) 2009 Kenneth Rohde Christiansen 10 * Copyright (C) 2009 Kenneth Rohde Christiansen
(...skipping 19 matching lines...) Expand all
30 #define ThemePainterDefault_h 30 #define ThemePainterDefault_h
31 31
32 #include "core/paint/ThemePainter.h" 32 #include "core/paint/ThemePainter.h"
33 #include "public/platform/WebThemeEngine.h" 33 #include "public/platform/WebThemeEngine.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class LayoutBox; 37 class LayoutBox;
38 38
39 class ThemePainterDefault final : public ThemePainter { 39 class ThemePainterDefault final : public ThemePainter {
40 public:
41 ThemePainterDefault();
42
40 private: 43 private:
41 bool paintCheckbox(const LayoutObject&, const PaintInfo&, const IntRect&) ov erride; 44 bool paintCheckbox(const LayoutObject&, const PaintInfo&, const IntRect&) ov erride;
42 bool paintRadio(const LayoutObject&, const PaintInfo&, const IntRect&) overr ide; 45 bool paintRadio(const LayoutObject&, const PaintInfo&, const IntRect&) overr ide;
43 bool paintButton(const LayoutObject&, const PaintInfo&, const IntRect&) over ride; 46 bool paintButton(const LayoutObject&, const PaintInfo&, const IntRect&) over ride;
44 bool paintTextField(const LayoutObject&, const PaintInfo&, const IntRect&) o verride; 47 bool paintTextField(const LayoutObject&, const PaintInfo&, const IntRect&) o verride;
45 bool paintMenuList(const LayoutObject&, const PaintInfo&, const IntRect&) ov erride; 48 bool paintMenuList(const LayoutObject&, const PaintInfo&, const IntRect&) ov erride;
46 bool paintMenuListButton(const LayoutObject&, const PaintInfo&, const IntRec t&) override; 49 bool paintMenuListButton(const LayoutObject&, const PaintInfo&, const IntRec t&) override;
47 bool paintSliderTrack(const LayoutObject&, const PaintInfo&, const IntRect&) override; 50 bool paintSliderTrack(const LayoutObject&, const PaintInfo&, const IntRect&) override;
48 bool paintSliderThumb(const LayoutObject&, const PaintInfo&, const IntRect&) override; 51 bool paintSliderThumb(const LayoutObject&, const PaintInfo&, const IntRect&) override;
49 bool paintInnerSpinButton(const LayoutObject&, const PaintInfo&, const IntRe ct&) override; 52 bool paintInnerSpinButton(const LayoutObject&, const PaintInfo&, const IntRe ct&) override;
50 bool paintProgressBar(const LayoutObject&, const PaintInfo&, const IntRect&) override; 53 bool paintProgressBar(const LayoutObject&, const PaintInfo&, const IntRect&) override;
51 bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntRect&) ov erride; 54 bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntRect&) ov erride;
52 bool paintSearchField(const LayoutObject&, const PaintInfo&, const IntRect&) override; 55 bool paintSearchField(const LayoutObject&, const PaintInfo&, const IntRect&) override;
53 bool paintSearchFieldCancelButton(const LayoutObject&, const PaintInfo&, con st IntRect&) override; 56 bool paintSearchFieldCancelButton(const LayoutObject&, const PaintInfo&, con st IntRect&) override;
54 bool paintSearchFieldResultsDecoration(const LayoutObject&, const PaintInfo& , const IntRect&) override; 57 bool paintSearchFieldResultsDecoration(const LayoutObject&, const PaintInfo& , const IntRect&) override;
55 58
56 void setupMenuListArrow(const LayoutBox&, const IntRect&, WebThemeEngine::Ex traParams&); 59 void setupMenuListArrow(const LayoutBox&, const IntRect&, WebThemeEngine::Ex traParams&);
57 }; 60 };
58 61
59 } // namespace blink 62 } // namespace blink
60 63
61 #endif // ThemePainerDefault_h 64 #endif // ThemePainerDefault_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/ThemePainter.cpp ('k') | third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698