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

Side by Side Diff: third_party/WebKit/Source/core/paint/ThemePainter.h

Issue 1747763002: Remove OSX-specific <meter> rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 protected: 52 protected:
53 virtual bool paintCheckbox(const LayoutObject&, const PaintInfo&, const IntR ect&) { return true; } 53 virtual bool paintCheckbox(const LayoutObject&, const PaintInfo&, const IntR ect&) { return true; }
54 virtual bool paintRadio(const LayoutObject&, const PaintInfo&, const IntRect &) { return true; } 54 virtual bool paintRadio(const LayoutObject&, const PaintInfo&, const IntRect &) { return true; }
55 virtual bool paintButton(const LayoutObject&, const PaintInfo&, const IntRec t&) { return true; } 55 virtual bool paintButton(const LayoutObject&, const PaintInfo&, const IntRec t&) { return true; }
56 virtual bool paintInnerSpinButton(const LayoutObject&, const PaintInfo&, con st IntRect&) { return true; } 56 virtual bool paintInnerSpinButton(const LayoutObject&, const PaintInfo&, con st IntRect&) { return true; }
57 virtual bool paintTextField(const LayoutObject&, const PaintInfo&, const Int Rect&) { return true; } 57 virtual bool paintTextField(const LayoutObject&, const PaintInfo&, const Int Rect&) { return true; }
58 virtual bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntR ect&) { return true; } 58 virtual bool paintTextArea(const LayoutObject&, const PaintInfo&, const IntR ect&) { return true; }
59 virtual bool paintMenuList(const LayoutObject&, const PaintInfo&, const IntR ect&) { return true; } 59 virtual bool paintMenuList(const LayoutObject&, const PaintInfo&, const IntR ect&) { return true; }
60 virtual bool paintMenuListButton(const LayoutObject&, const PaintInfo&, cons t IntRect&) { return true; } 60 virtual bool paintMenuListButton(const LayoutObject&, const PaintInfo&, cons t IntRect&) { return true; }
61 virtual bool paintMeter(const LayoutObject&, const PaintInfo&, const IntRect &);
62 virtual bool paintProgressBar(const LayoutObject&, const PaintInfo&, const I ntRect&) { return true; } 61 virtual bool paintProgressBar(const LayoutObject&, const PaintInfo&, const I ntRect&) { return true; }
63 virtual bool paintSliderTrack(const LayoutObject&, const PaintInfo&, const I ntRect&) { return true; } 62 virtual bool paintSliderTrack(const LayoutObject&, const PaintInfo&, const I ntRect&) { return true; }
64 virtual bool paintSliderThumb(const LayoutObject&, const PaintInfo&, const I ntRect&) { return true; } 63 virtual bool paintSliderThumb(const LayoutObject&, const PaintInfo&, const I ntRect&) { return true; }
65 virtual bool paintSearchField(const LayoutObject&, const PaintInfo&, const I ntRect&) { return true; } 64 virtual bool paintSearchField(const LayoutObject&, const PaintInfo&, const I ntRect&) { return true; }
66 virtual bool paintSearchFieldCancelButton(const LayoutObject&, const PaintIn fo&, const IntRect&) { return true; } 65 virtual bool paintSearchFieldCancelButton(const LayoutObject&, const PaintIn fo&, const IntRect&) { return true; }
67 virtual bool paintSearchFieldDecoration(const LayoutObject&, const PaintInfo &, const IntRect&) { return true; } 66 virtual bool paintSearchFieldDecoration(const LayoutObject&, const PaintInfo &, const IntRect&) { return true; }
68 virtual bool paintSearchFieldResultsDecoration(const LayoutObject&, const Pa intInfo&, const IntRect&) { return true; } 67 virtual bool paintSearchFieldResultsDecoration(const LayoutObject&, const Pa intInfo&, const IntRect&) { return true; }
69 68
70 bool paintUsingFallbackTheme(const LayoutObject&, const PaintInfo&, const In tRect&); 69 bool paintUsingFallbackTheme(const LayoutObject&, const PaintInfo&, const In tRect&);
71 bool paintCheckboxUsingFallbackTheme(const LayoutObject&, const PaintInfo&, const IntRect&); 70 bool paintCheckboxUsingFallbackTheme(const LayoutObject&, const PaintInfo&, const IntRect&);
72 bool paintRadioUsingFallbackTheme(const LayoutObject&, const PaintInfo&, con st IntRect&); 71 bool paintRadioUsingFallbackTheme(const LayoutObject&, const PaintInfo&, con st IntRect&);
73 72
74 private: 73 private:
75 Theme* m_platformTheme; // The platform-specific theme. 74 Theme* m_platformTheme; // The platform-specific theme.
76 }; 75 };
77 76
78 } // namespace blink 77 } // namespace blink
79 78
80 #endif // ThemePainter_h 79 #endif // ThemePainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeMac.mm ('k') | third_party/WebKit/Source/core/paint/ThemePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698