OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. | 2 * Copyright (C) 2009 Apple Inc. |
3 * Copyright (C) 2009 Google Inc. | 3 * Copyright (C) 2009 Google Inc. |
4 * All rights reserved. | 4 * All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 static bool paintMediaSliderThumb(const LayoutObject&, const PaintInfo&, con
st IntRect&); | 48 static bool paintMediaSliderThumb(const LayoutObject&, const PaintInfo&, con
st IntRect&); |
49 static bool paintMediaVolumeSlider(const LayoutObject&, const PaintInfo&, co
nst IntRect&); | 49 static bool paintMediaVolumeSlider(const LayoutObject&, const PaintInfo&, co
nst IntRect&); |
50 static bool paintMediaVolumeSliderThumb(const LayoutObject&, const PaintInfo
&, const IntRect&); | 50 static bool paintMediaVolumeSliderThumb(const LayoutObject&, const PaintInfo
&, const IntRect&); |
51 static bool paintMediaFullscreenButton(const LayoutObject&, const PaintInfo&
, const IntRect&); | 51 static bool paintMediaFullscreenButton(const LayoutObject&, const PaintInfo&
, const IntRect&); |
52 static bool paintMediaOverlayPlayButton(const LayoutObject&, const PaintInfo
&, const IntRect&); | 52 static bool paintMediaOverlayPlayButton(const LayoutObject&, const PaintInfo
&, const IntRect&); |
53 static bool paintMediaCastButton(const LayoutObject&, const PaintInfo&, cons
t IntRect&); | 53 static bool paintMediaCastButton(const LayoutObject&, const PaintInfo&, cons
t IntRect&); |
54 static bool paintMediaTrackSelectionCheckmark(const LayoutObject&, const Pai
ntInfo&, const IntRect&); | 54 static bool paintMediaTrackSelectionCheckmark(const LayoutObject&, const Pai
ntInfo&, const IntRect&); |
55 static bool paintMediaClosedCaptionsIcon(const LayoutObject&, const PaintInf
o&, const IntRect&); | 55 static bool paintMediaClosedCaptionsIcon(const LayoutObject&, const PaintInf
o&, const IntRect&); |
56 static bool paintMediaSubtitlesIcon(const LayoutObject&, const PaintInfo&, c
onst IntRect&); | 56 static bool paintMediaSubtitlesIcon(const LayoutObject&, const PaintInfo&, c
onst IntRect&); |
57 static bool paintMediaOverflowMenu(const LayoutObject&, const PaintInfo&, co
nst IntRect&); | 57 static bool paintMediaOverflowMenu(const LayoutObject&, const PaintInfo&, co
nst IntRect&); |
| 58 static bool paintMediaDownloadIcon(const LayoutObject&, const PaintInfo&, co
nst IntRect&); |
58 static void adjustMediaSliderThumbSize(ComputedStyle&); | 59 static void adjustMediaSliderThumbSize(ComputedStyle&); |
59 | 60 |
60 private: | 61 private: |
61 static void adjustMediaSliderThumbPaintSize(const IntRect&, const ComputedSt
yle&, IntRect& rectOut); | 62 static void adjustMediaSliderThumbPaintSize(const IntRect&, const ComputedSt
yle&, IntRect& rectOut); |
62 static void paintMediaSliderInternal(const LayoutObject&, const PaintInfo&,
const IntRect&); | 63 static void paintMediaSliderInternal(const LayoutObject&, const PaintInfo&,
const IntRect&); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace blink | 66 } // namespace blink |
66 | 67 |
67 #endif // MediaControlsPainter_h | 68 #endif // MediaControlsPainter_h |
OLD | NEW |