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

Side by Side Diff: Source/core/paint/ThemePainterMac.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/ThemePainterDefault.cpp ('k') | Source/core/paint/ThemePainterMac.mm » ('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 30 matching lines...) Expand all
41 virtual bool paintTextArea(LayoutObject*, const PaintInfo&, const IntRect&) override; 41 virtual bool paintTextArea(LayoutObject*, const PaintInfo&, const IntRect&) override;
42 virtual bool paintMenuList(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; 43 virtual bool paintMenuListButton(LayoutObject*, const PaintInfo&, const IntR ect&) override;
44 virtual bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect &) override; 44 virtual bool paintProgressBar(LayoutObject*, const PaintInfo&, const IntRect &) override;
45 virtual bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect &) override; 45 virtual bool paintSliderTrack(LayoutObject*, const PaintInfo&, const IntRect &) override;
46 virtual bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect &) override; 46 virtual bool paintSliderThumb(LayoutObject*, const PaintInfo&, const IntRect &) override;
47 virtual bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect &) override; 47 virtual bool paintSearchField(LayoutObject*, const PaintInfo&, const IntRect &) override;
48 virtual bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, c onst IntRect&) override; 48 virtual bool paintSearchFieldCancelButton(LayoutObject*, const PaintInfo&, c onst IntRect&) override;
49 virtual bool paintSearchFieldDecoration(LayoutObject*, const PaintInfo&, con st IntRect&) override; 49 virtual bool paintSearchFieldDecoration(LayoutObject*, const PaintInfo&, con st IntRect&) override;
50 virtual bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInf o&, const IntRect&) override; 50 virtual bool paintSearchFieldResultsDecoration(LayoutObject*, const PaintInf o&, const IntRect&) override;
51 virtual bool paintMediaPlayButton(LayoutObject*, const PaintInfo&, const Int Rect&) override;
52 virtual bool paintMediaOverlayPlayButton(LayoutObject*, const PaintInfo&, co nst IntRect&) override;
53 virtual bool paintMediaMuteButton(LayoutObject*, const PaintInfo&, const Int Rect&) override;
54 virtual bool paintMediaSliderTrack(LayoutObject*, const PaintInfo&, const In tRect&) override;
55 virtual bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const In tRect&) override;
56 virtual bool paintMediaVolumeSliderContainer(LayoutObject*, const PaintInfo& , const IntRect&) override;
57 virtual bool paintMediaVolumeSliderTrack(LayoutObject*, const PaintInfo&, co nst IntRect&) override;
58 virtual bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, co nst IntRect&) override;
59 virtual bool paintMediaFullscreenButton(LayoutObject*, const PaintInfo&, con st IntRect&) override;
60 virtual bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const Paint Info&, const IntRect&) override;
61 51
62 LayoutThemeMac& m_layoutTheme; 52 LayoutThemeMac& m_layoutTheme;
63 }; 53 };
64 54
65 } // namespace blink 55 } // namespace blink
66 56
67 #endif // ThemePainterMac_h 57 #endif // ThemePainterMac_h
OLDNEW
« no previous file with comments | « Source/core/paint/ThemePainterDefault.cpp ('k') | Source/core/paint/ThemePainterMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698