OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the theme implementation for form controls in WebCore. | 2 * This file is part of the theme implementation for form controls in WebCore. |
3 * | 3 * |
4 * Copyright (C) 2005 Apple Computer, Inc. | 4 * Copyright (C) 2005 Apple Computer, Inc. |
5 * Copyright (C) 2008, 2009 Google, Inc. | 5 * Copyright (C) 2008, 2009 Google, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class LayoutThemeMac; | 31 class LayoutThemeMac; |
32 | 32 |
33 class ThemePainterMac final : public ThemePainter { | 33 class ThemePainterMac final : public ThemePainter { |
34 public: | 34 public: |
35 ThemePainterMac(LayoutThemeMac& layoutTheme) : m_layoutTheme(layoutTheme) {
} | 35 ThemePainterMac(LayoutThemeMac& layoutTheme) : m_layoutTheme(layoutTheme) {
} |
36 | 36 |
37 private: | 37 private: |
38 virtual bool paintCapsLockIndicator(LayoutObject*, const PaintInfo&, const I
ntRect&) override; | 38 bool paintCapsLockIndicator(LayoutObject*, const PaintInfo&, const IntRect&)
override; |
39 virtual bool paintMeter(LayoutObject*, const PaintInfo&, const IntRect&) ove
rride; | 39 bool paintMeter(LayoutObject*, const PaintInfo&, const IntRect&) override; |
40 virtual bool paintTextField(LayoutObject*, const PaintInfo&, const IntRect&)
override; | 40 bool paintTextField(LayoutObject*, const PaintInfo&, const IntRect&) overrid
e; |
41 virtual bool paintTextArea(LayoutObject*, const PaintInfo&, const IntRect&)
override; | 41 bool paintTextArea(LayoutObject*, const PaintInfo&, const IntRect&) override
; |
42 virtual bool paintMenuList(LayoutObject*, const PaintInfo&, const IntRect&)
override; | 42 bool paintMenuList(LayoutObject*, const PaintInfo&, const IntRect&) override
; |
43 virtual bool paintMenuListButton(LayoutObject*, const PaintInfo&, const IntR
ect&) override; | 43 bool paintMenuListButton(LayoutObject*, const PaintInfo&, const IntRect&) ov
erride; |
44 virtual bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect
&) override; | 44 bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect&) overr
ide; |
45 virtual bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect
&) override; | 45 bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect&) overr
ide; |
46 virtual bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect
&) override; | 46 bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect&) overr
ide; |
47 virtual bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect
&) override; | 47 bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect&) overr
ide; |
48 virtual bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, c
onst IntRect&) override; | 48 bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
49 virtual bool paintSearchFieldDecoration(LayoutObject*, const PaintInfo&, con
st IntRect&) override; | 49 bool paintSearchFieldDecoration(LayoutObject*, const PaintInfo&, const IntRe
ct&) override; |
50 virtual bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInf
o&, const IntRect&) override; | 50 bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInfo&, cons
t IntRect&) override; |
51 | 51 |
52 LayoutThemeMac& m_layoutTheme; | 52 LayoutThemeMac& m_layoutTheme; |
53 }; | 53 }; |
54 | 54 |
55 } // namespace blink | 55 } // namespace blink |
56 | 56 |
57 #endif // ThemePainterMac_h | 57 #endif // ThemePainterMac_h |
OLD | NEW |