| OLD | NEW |
| (Empty) | |
| 1 /* |
| 2 * This file is part of the WebKit project. |
| 3 * |
| 4 * Copyright (C) 2006 Apple Computer, Inc. |
| 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com |
| 6 * Copyright (C) 2007 Holger Hans Peter Freyther |
| 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
| 8 * Copyright (C) 2008, 2009 Google, Inc. |
| 9 * All rights reserved. |
| 10 * Copyright (C) 2009 Kenneth Rohde Christiansen |
| 11 * |
| 12 * This library is free software; you can redistribute it and/or |
| 13 * modify it under the terms of the GNU Library General Public |
| 14 * License as published by the Free Software Foundation; either |
| 15 * version 2 of the License, or (at your option) any later version. |
| 16 * |
| 17 * This library is distributed in the hope that it will be useful, |
| 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 * Library General Public License for more details. |
| 21 * |
| 22 * You should have received a copy of the GNU Library General Public License |
| 23 * along with this library; see the file COPYING.LIB. If not, write to |
| 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 25 * Boston, MA 02110-1301, USA. |
| 26 * |
| 27 */ |
| 28 |
| 29 #ifndef ThemePainterDefault_h |
| 30 #define ThemePainterDefault_h |
| 31 |
| 32 #include "core/paint/ThemePainter.h" |
| 33 |
| 34 namespace blink { |
| 35 |
| 36 class ThemePainterDefault final : public ThemePainter { |
| 37 private: |
| 38 virtual bool paintCheckbox(LayoutObject*, const PaintInfo&, const IntRect&)
override; |
| 39 virtual bool paintRadio(LayoutObject*, const PaintInfo&, const IntRect&) ove
rride; |
| 40 virtual bool paintButton(LayoutObject*, const PaintInfo&, const IntRect&) ov
erride; |
| 41 virtual bool paintTextField(LayoutObject*, const PaintInfo&, const IntRect&)
override; |
| 42 virtual bool paintMenuList(LayoutObject*, const PaintInfo&, const IntRect&)
override; |
| 43 virtual bool paintMenuListButton(LayoutObject*, const PaintInfo&, const IntR
ect&) override; |
| 44 virtual bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect
&) override; |
| 45 virtual bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect
&) override; |
| 46 virtual bool paintInnerSpinButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
| 47 virtual bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect
&) override; |
| 48 virtual bool paintTextArea(LayoutObject*, const PaintInfo&, const IntRect&)
override; |
| 49 virtual bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect
&) override; |
| 50 virtual bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, c
onst IntRect&) override; |
| 51 virtual bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInf
o&, const IntRect&) override; |
| 52 |
| 53 virtual bool paintMediaSliderTrack(LayoutObject*, const PaintInfo&, const In
tRect&) override; |
| 54 virtual bool paintMediaVolumeSliderTrack(LayoutObject*, const PaintInfo&, co
nst IntRect&) override; |
| 55 virtual bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const In
tRect&) override; |
| 56 virtual bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const Paint
Info&, const IntRect&) override; |
| 57 virtual bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
| 58 virtual bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, co
nst IntRect&) override; |
| 59 virtual bool paintMediaPlayButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
| 60 virtual bool paintMediaOverlayPlayButton(LayoutObject*, const PaintInfo&, co
nst IntRect&) override; |
| 61 virtual bool paintMediaMuteButton(LayoutObject*, const PaintInfo&, const Int
Rect&) override; |
| 62 virtual bool paintMediaFullscreenButton(LayoutObject*, const PaintInfo&, con
st IntRect&) override; |
| 63 }; |
| 64 |
| 65 } // namespace blink |
| 66 |
| 67 #endif // ThemePainerDefault_h |
| OLD | NEW |