| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 static bool paintMediaSlider(const LayoutObject&, const PaintInfo&, const In
tRect&); | 47 static bool paintMediaSlider(const LayoutObject&, const PaintInfo&, const In
tRect&); |
| 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 void adjustMediaSliderThumbSize(ComputedStyle&); | 58 static void adjustMediaSliderThumbSize(ComputedStyle&); |
| 58 | 59 |
| 59 private: | 60 private: |
| 60 static void adjustMediaSliderThumbPaintSize(const IntRect&, const ComputedSt
yle&, IntRect& rectOut); | 61 static void adjustMediaSliderThumbPaintSize(const IntRect&, const ComputedSt
yle&, IntRect& rectOut); |
| 61 static void paintMediaSliderInternal(const LayoutObject&, const PaintInfo&,
const IntRect&); | 62 static void paintMediaSliderInternal(const LayoutObject&, const PaintInfo&,
const IntRect&); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // namespace blink | 65 } // namespace blink |
| 65 | 66 |
| 66 #endif // MediaControlsPainter_h | 67 #endif // MediaControlsPainter_h |
| OLD | NEW |