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

Side by Side Diff: Source/core/paint/ThemePainterMac.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/paint/ThemePainterDefault.h ('k') | Source/core/plugins/PluginView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/paint/ThemePainterDefault.h ('k') | Source/core/plugins/PluginView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698