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 14 matching lines...) Expand all Loading... |
25 */ | 25 */ |
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 Document; | |
36 class Event; | 35 class Event; |
37 | 36 |
38 class MediaControls FINAL : public HTMLDivElement { | 37 class MediaControls FINAL : public HTMLDivElement { |
39 public: | 38 public: |
40 static PassRefPtrWillBeRawPtr<MediaControls> create(HTMLMediaElement&); | 39 static PassRefPtrWillBeRawPtr<MediaControls> create(HTMLMediaElement&); |
41 | 40 |
42 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } | 41 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } |
43 | 42 |
44 void reset(); | 43 void reset(); |
45 | 44 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 bool m_isMouseOverControls : 1; | 136 bool m_isMouseOverControls : 1; |
138 bool m_isPausedForScrubbing : 1; | 137 bool m_isPausedForScrubbing : 1; |
139 bool m_wasLastEventTouch : 1; | 138 bool m_wasLastEventTouch : 1; |
140 }; | 139 }; |
141 | 140 |
142 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 141 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
143 | 142 |
144 } | 143 } |
145 | 144 |
146 #endif | 145 #endif |
OLD | NEW |