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 15 matching lines...) Expand all Loading... |
26 | 26 |
27 #ifndef MediaControls_h | 27 #ifndef MediaControls_h |
28 #define MediaControls_h | 28 #define MediaControls_h |
29 | 29 |
30 #include "core/html/HTMLDivElement.h" | 30 #include "core/html/HTMLDivElement.h" |
31 #include "core/html/shadow/MediaControlElements.h" | 31 #include "core/html/shadow/MediaControlElements.h" |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class Event; | 35 class Event; |
36 class TextTrackContainer; | |
37 class MediaControlsWindowEventListener; | 36 class MediaControlsWindowEventListener; |
38 | 37 |
39 class CORE_EXPORT MediaControls final : public HTMLDivElement { | 38 class CORE_EXPORT MediaControls final : public HTMLDivElement { |
40 public: | 39 public: |
41 static MediaControls* create(HTMLMediaElement&); | 40 static MediaControls* create(HTMLMediaElement&); |
42 | 41 |
43 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } | 42 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } |
44 | 43 |
45 void reset(); | 44 void reset(); |
46 | 45 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 int m_panelWidth; | 181 int m_panelWidth; |
183 | 182 |
184 bool m_keepShowingUntilTimerFires : 1; | 183 bool m_keepShowingUntilTimerFires : 1; |
185 }; | 184 }; |
186 | 185 |
187 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 186 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
188 | 187 |
189 } // namespace blink | 188 } // namespace blink |
190 | 189 |
191 #endif | 190 #endif |
OLD | NEW |