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 18 matching lines...) Expand all Loading... |
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&, Theme*); | 35 ThemePainterMac(LayoutThemeMac&, Theme*); |
36 | 36 |
37 private: | 37 private: |
38 bool paintCapsLockIndicator(const LayoutObject&, const PaintInfo&, const Int
Rect&) override; | 38 bool paintCapsLockIndicator(const LayoutObject&, const PaintInfo&, const Int
Rect&) override; |
39 bool paintMeter(const LayoutObject&, const PaintInfo&, const IntRect&) overr
ide; | |
40 bool paintTextField(const LayoutObject&, const PaintInfo&, const IntRect&) o
verride; | 39 bool paintTextField(const LayoutObject&, const PaintInfo&, const IntRect&) o
verride; |
41 bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntRect&) ov
erride; | 40 bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntRect&) ov
erride; |
42 bool paintMenuList(const LayoutObject&, const PaintInfo&, const IntRect&) ov
erride; | 41 bool paintMenuList(const LayoutObject&, const PaintInfo&, const IntRect&) ov
erride; |
43 bool paintMenuListButton(const LayoutObject&, const PaintInfo&, const IntRec
t&) override; | 42 bool paintMenuListButton(const LayoutObject&, const PaintInfo&, const IntRec
t&) override; |
44 bool paintProgressBar(const LayoutObject&, const PaintInfo&, const IntRect&)
override; | 43 bool paintProgressBar(const LayoutObject&, const PaintInfo&, const IntRect&)
override; |
45 bool paintSliderTrack(const LayoutObject&, const PaintInfo&, const IntRect&)
override; | 44 bool paintSliderTrack(const LayoutObject&, const PaintInfo&, const IntRect&)
override; |
46 bool paintSliderThumb(const LayoutObject&, const PaintInfo&, const IntRect&)
override; | 45 bool paintSliderThumb(const LayoutObject&, const PaintInfo&, const IntRect&)
override; |
47 bool paintSearchField(const LayoutObject&, const PaintInfo&, const IntRect&)
override; | 46 bool paintSearchField(const LayoutObject&, const PaintInfo&, const IntRect&)
override; |
48 bool paintSearchFieldCancelButton(const LayoutObject&, const PaintInfo&, con
st IntRect&) override; | 47 bool paintSearchFieldCancelButton(const LayoutObject&, const PaintInfo&, con
st IntRect&) override; |
49 bool paintSearchFieldDecoration(const LayoutObject&, const PaintInfo&, const
IntRect&) override; | 48 bool paintSearchFieldDecoration(const LayoutObject&, const PaintInfo&, const
IntRect&) override; |
50 bool paintSearchFieldResultsDecoration(const LayoutObject&, const PaintInfo&
, const IntRect&) override; | 49 bool paintSearchFieldResultsDecoration(const LayoutObject&, const PaintInfo&
, const IntRect&) override; |
51 | 50 |
52 LayoutThemeMac& m_layoutTheme; | 51 LayoutThemeMac& m_layoutTheme; |
53 }; | 52 }; |
54 | 53 |
55 } // namespace blink | 54 } // namespace blink |
56 | 55 |
57 #endif // ThemePainterMac_h | 56 #endif // ThemePainterMac_h |
OLD | NEW |