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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 static bool paintMediaPlayButton(LayoutObject*, const PaintInfo&, const IntR
ect&); | 42 static bool paintMediaPlayButton(LayoutObject*, const PaintInfo&, const IntR
ect&); |
43 static bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const PaintI
nfo&, const IntRect&); | 43 static bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const PaintI
nfo&, const IntRect&); |
44 static bool paintMediaSlider(LayoutObject*, const PaintInfo&, const IntRect&
); | 44 static bool paintMediaSlider(LayoutObject*, const PaintInfo&, const IntRect&
); |
45 static bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const Int
Rect&); | 45 static bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const Int
Rect&); |
46 static bool paintMediaVolumeSlider(LayoutObject*, const PaintInfo&, const In
tRect&); | 46 static bool paintMediaVolumeSlider(LayoutObject*, const PaintInfo&, const In
tRect&); |
47 static bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, con
st IntRect&); | 47 static bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, con
st IntRect&); |
48 static bool paintMediaFullscreenButton(LayoutObject*, const PaintInfo&, cons
t IntRect&); | 48 static bool paintMediaFullscreenButton(LayoutObject*, const PaintInfo&, cons
t IntRect&); |
49 static bool paintMediaOverlayPlayButton(LayoutObject*, const PaintInfo&, con
st IntRect&); | 49 static bool paintMediaOverlayPlayButton(LayoutObject*, const PaintInfo&, con
st IntRect&); |
50 static bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const IntR
ect&); | 50 static bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const IntR
ect&); |
51 static void adjustMediaSliderThumbSize(ComputedStyle&); | 51 static void adjustMediaSliderThumbSize(ComputedStyle&); |
| 52 |
| 53 private: |
| 54 static void adjustMediaSliderThumbPaintSize(const IntRect&, const ComputedSt
yle&, IntRect& rectOut); |
| 55 static void paintMediaSliderInternal(LayoutObject*, const PaintInfo&, const
IntRect&); |
52 }; | 56 }; |
53 | 57 |
54 } // namespace blink | 58 } // namespace blink |
55 | 59 |
56 #endif // MediaControlsPainter_h | 60 #endif // MediaControlsPainter_h |
OLD | NEW |