| OLD | NEW |
| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #ifndef ThemePainterDefault_h | 29 #ifndef ThemePainterDefault_h |
| 30 #define ThemePainterDefault_h | 30 #define ThemePainterDefault_h |
| 31 | 31 |
| 32 #include "core/paint/ThemePainter.h" | 32 #include "core/paint/ThemePainter.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class ThemePainterDefault final : public ThemePainter { | 36 class ThemePainterDefault final : public ThemePainter { |
| 37 private: | 37 private: |
| 38 virtual bool paintCheckbox(LayoutObject*, const PaintInfo&, const IntRect&)
override; | 38 bool paintCheckbox(LayoutObject*, const PaintInfo&, const IntRect&) override
; |
| 39 virtual bool paintRadio(LayoutObject*, const PaintInfo&, const IntRect&) ove
rride; | 39 bool paintRadio(LayoutObject*, const PaintInfo&, const IntRect&) override; |
| 40 virtual bool paintButton(LayoutObject*, const PaintInfo&, const IntRect&) ov
erride; | 40 bool paintButton(LayoutObject*, const PaintInfo&, const IntRect&) override; |
| 41 virtual bool paintTextField(LayoutObject*, const PaintInfo&, const IntRect&)
override; | 41 bool paintTextField(LayoutObject*, const PaintInfo&, const IntRect&) overrid
e; |
| 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 paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect
&) override; | 44 bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect&) overr
ide; |
| 45 virtual bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect
&) override; | 45 bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect&) overr
ide; |
| 46 virtual bool paintInnerSpinButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; | 46 bool paintInnerSpinButton(LayoutObject*, const PaintInfo&, const IntRect&) o
verride; |
| 47 virtual bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect
&) override; | 47 bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect&) overr
ide; |
| 48 virtual bool paintTextArea(LayoutObject*, const PaintInfo&, const IntRect&)
override; | 48 bool paintTextArea(LayoutObject*, const PaintInfo&, const IntRect&) override
; |
| 49 virtual bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect
&) override; | 49 bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect&) overr
ide; |
| 50 virtual bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, c
onst IntRect&) override; | 50 bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
| 51 virtual bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInf
o&, const IntRect&) override; | 51 bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInfo&, cons
t IntRect&) override; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace blink | 54 } // namespace blink |
| 55 | 55 |
| 56 #endif // ThemePainerDefault_h | 56 #endif // ThemePainerDefault_h |
| OLD | NEW |