| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef MediaControlsImpl_h | 27 #ifndef MediaControlsImpl_h |
| 28 #define MediaControlsImpl_h | 28 #define MediaControlsImpl_h |
| 29 | 29 |
| 30 #include "core/html/HTMLDivElement.h" | 30 #include "core/html/HTMLDivElement.h" |
| 31 #include "core/html/media/MediaControls.h" | 31 #include "core/html/media/MediaControls.h" |
| 32 #include "core/html/shadow/MediaControlElements.h" | |
| 33 #include "modules/ModulesExport.h" | 32 #include "modules/ModulesExport.h" |
| 34 | 33 |
| 35 namespace blink { | 34 namespace blink { |
| 36 | 35 |
| 37 class Event; | 36 class Event; |
| 38 class MediaControlsMediaEventListener; | 37 class MediaControlsMediaEventListener; |
| 39 class MediaControlsOrientationLockDelegate; | 38 class MediaControlsOrientationLockDelegate; |
| 40 class MediaControlsWindowEventListener; | 39 class MediaControlsWindowEventListener; |
| 41 class MediaControlCastButtonElement; | 40 class MediaControlCastButtonElement; |
| 42 class MediaControlCurrentTimeDisplayElement; | 41 class MediaControlCurrentTimeDisplayElement; |
| 43 class MediaControlDownloadButtonElement; | 42 class MediaControlDownloadButtonElement; |
| 44 class MediaControlFullscreenButtonElement; | 43 class MediaControlFullscreenButtonElement; |
| 45 class MediaControlMuteButtonElement; | 44 class MediaControlMuteButtonElement; |
| 46 class MediaControlOverflowMenuButtonElement; | 45 class MediaControlOverflowMenuButtonElement; |
| 47 class MediaControlOverflowMenuListElement; | 46 class MediaControlOverflowMenuListElement; |
| 48 class MediaControlOverlayEnclosureElement; | 47 class MediaControlOverlayEnclosureElement; |
| 49 class MediaControlOverlayPlayButtonElement; | 48 class MediaControlOverlayPlayButtonElement; |
| 50 class MediaControlPanelElement; | 49 class MediaControlPanelElement; |
| 51 class MediaControlPanelEnclosureElement; | 50 class MediaControlPanelEnclosureElement; |
| 52 class MediaControlPlayButtonElement; | 51 class MediaControlPlayButtonElement; |
| 53 class MediaControlRemainingTimeDisplayElement; | 52 class MediaControlRemainingTimeDisplayElement; |
| 54 class MediaControlTextTrackListElement; | 53 class MediaControlTextTrackListElement; |
| 55 class MediaControlTimelineElement; | 54 class MediaControlTimelineElement; |
| 56 class MediaControlToggleClosedCaptionsButtonElement; | 55 class MediaControlToggleClosedCaptionsButtonElement; |
| 56 class MediaControlVolumeSliderElement; |
| 57 class ShadowRoot; | 57 class ShadowRoot; |
| 58 | 58 |
| 59 // Default implementation of the core/ MediaControls interface used by | 59 // Default implementation of the core/ MediaControls interface used by |
| 60 // HTMLMediaElement. | 60 // HTMLMediaElement. |
| 61 class MODULES_EXPORT MediaControlsImpl final : public HTMLDivElement, | 61 class MODULES_EXPORT MediaControlsImpl final : public HTMLDivElement, |
| 62 public MediaControls { | 62 public MediaControls { |
| 63 USING_GARBAGE_COLLECTED_MIXIN(MediaControlsImpl); | 63 USING_GARBAGE_COLLECTED_MIXIN(MediaControlsImpl); |
| 64 WTF_MAKE_NONCOPYABLE(MediaControlsImpl); | 64 WTF_MAKE_NONCOPYABLE(MediaControlsImpl); |
| 65 | 65 |
| 66 public: | 66 public: |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 IntSize size_; | 259 IntSize size_; |
| 260 | 260 |
| 261 bool keep_showing_until_timer_fires_ : 1; | 261 bool keep_showing_until_timer_fires_ : 1; |
| 262 }; | 262 }; |
| 263 | 263 |
| 264 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, IsMediaControls()); | 264 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, IsMediaControls()); |
| 265 | 265 |
| 266 } // namespace blink | 266 } // namespace blink |
| 267 | 267 |
| 268 #endif | 268 #endif |
| OLD | NEW |