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

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

Issue 1115203003: De-virtualize media control painting methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Mac doesn't want cast button Created 5 years, 7 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/MediaControlsPainter.cpp ('k') | Source/core/paint/ThemePainter.cpp » ('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, 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual bool paintMenuList(LayoutObject*, const PaintInfo&, const IntRect&) { return true; } 57 virtual bool paintMenuList(LayoutObject*, const PaintInfo&, const IntRect&) { return true; }
58 virtual bool paintMenuListButton(LayoutObject*, const PaintInfo&, const IntR ect&) { return true; } 58 virtual bool paintMenuListButton(LayoutObject*, const PaintInfo&, const IntR ect&) { return true; }
59 virtual bool paintMeter(LayoutObject*, const PaintInfo&, const IntRect&); 59 virtual bool paintMeter(LayoutObject*, const PaintInfo&, const IntRect&);
60 virtual bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect &) { return true; } 60 virtual bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect &) { return true; }
61 virtual bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect &) { return true; } 61 virtual bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect &) { return true; }
62 virtual bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect &) { return true; } 62 virtual bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect &) { return true; }
63 virtual bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect &) { return true; } 63 virtual bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect &) { return true; }
64 virtual bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, c onst IntRect&) { return true; } 64 virtual bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, c onst IntRect&) { return true; }
65 virtual bool paintSearchFieldDecoration(LayoutObject*, const PaintInfo&, con st IntRect&) { return true; } 65 virtual bool paintSearchFieldDecoration(LayoutObject*, const PaintInfo&, con st IntRect&) { return true; }
66 virtual bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInf o&, const IntRect&) { return true; } 66 virtual bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInf o&, const IntRect&) { return true; }
67 67 virtual bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const Int Rect&) { return true; }
68 virtual bool paintMediaFullscreenButton(LayoutObject*, const PaintInfo&, con st IntRect&) { return true; }
69 virtual bool paintMediaPlayButton(LayoutObject*, const PaintInfo&, const Int Rect&) { return true; }
70 virtual bool paintMediaOverlayPlayButton(LayoutObject*, const PaintInfo&, co nst IntRect&) { return true; }
71 virtual bool paintMediaMuteButton(LayoutObject*, const PaintInfo&, const Int Rect&) { return true; }
72 virtual bool paintMediaSliderTrack(LayoutObject*, const PaintInfo&, const In tRect&) { return true; }
73 virtual bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const In tRect&) { return true; }
74 virtual bool paintMediaVolumeSliderContainer(LayoutObject*, const PaintInfo& , const IntRect&) { return true; }
75 virtual bool paintMediaVolumeSliderTrack(LayoutObject*, const PaintInfo&, co nst IntRect&) { return true; }
76 virtual bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, co nst IntRect&) { return true; }
77 virtual bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const Paint Info&, const IntRect&) { return true; }
78 virtual bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const Int Rect&) { return true; };
79 virtual bool paintMediaControlsBackground(LayoutObject*, const PaintInfo&, c onst IntRect&) { return true; }
80 virtual bool paintMediaCurrentTime(LayoutObject*, const PaintInfo&, const In tRect&) { return true; }
81 virtual bool paintMediaTimeRemaining(LayoutObject*, const PaintInfo&, const IntRect&) { return true; }
82 virtual bool paintMediaFullScreenVolumeSliderTrack(LayoutObject*, const Pain tInfo&, const IntRect&) { return true; }
83 virtual bool paintMediaFullScreenVolumeSliderThumb(LayoutObject*, const Pain tInfo&, const IntRect&) { return true; }
84 68
85 bool paintUsingFallbackTheme(LayoutObject*, const PaintInfo&, const IntRect& ); 69 bool paintUsingFallbackTheme(LayoutObject*, const PaintInfo&, const IntRect& );
86 bool paintCheckboxUsingFallbackTheme(LayoutObject*, const PaintInfo&, const IntRect&); 70 bool paintCheckboxUsingFallbackTheme(LayoutObject*, const PaintInfo&, const IntRect&);
87 bool paintRadioUsingFallbackTheme(LayoutObject*, const PaintInfo&, const Int Rect&); 71 bool paintRadioUsingFallbackTheme(LayoutObject*, const PaintInfo&, const Int Rect&);
88 }; 72 };
89 73
90 } // namespace blink 74 } // namespace blink
91 75
92 #endif // ThemePainter_h 76 #endif // ThemePainter_h
OLDNEW
« no previous file with comments | « Source/core/paint/MediaControlsPainter.cpp ('k') | Source/core/paint/ThemePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698