| 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 13 matching lines...) Expand all Loading... |
| 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 MediaControls_h | 27 #ifndef MediaControls_h |
| 28 #define MediaControls_h | 28 #define MediaControls_h |
| 29 | 29 |
| 30 #include "HTMLDivElement.h" | 30 #include "HTMLDivElement.h" |
| 31 #include "HTMLMediaElement.h" | 31 #include "HTMLMediaElement.h" |
| 32 #include "HTMLNames.h" | 32 #include "HTMLNames.h" |
| 33 #include "MediaControlElements.h" | 33 #include "MediaControlElements.h" |
| 34 #include "MouseEvent.h" | 34 #include "core/dom/MouseEvent.h" |
| 35 #include "Text.h" | 35 #include "core/dom/Text.h" |
| 36 #include "core/page/Chrome.h" | 36 #include "core/page/Chrome.h" |
| 37 #include "core/page/Page.h" | 37 #include "core/page/Page.h" |
| 38 #include "core/rendering/RenderTheme.h" | 38 #include "core/rendering/RenderTheme.h" |
| 39 #include <wtf/RefPtr.h> | 39 #include <wtf/RefPtr.h> |
| 40 | 40 |
| 41 #include "TextTrackCue.h" | 41 #include "TextTrackCue.h" |
| 42 | 42 |
| 43 namespace WebCore { | 43 namespace WebCore { |
| 44 | 44 |
| 45 class Document; | 45 class Document; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isMediaControls()); | 142 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isMediaControls()); |
| 143 return static_cast<MediaControls*>(node); | 143 return static_cast<MediaControls*>(node); |
| 144 } | 144 } |
| 145 | 145 |
| 146 // This will catch anyone doing an unneccessary cast. | 146 // This will catch anyone doing an unneccessary cast. |
| 147 void toMediaControls(const MediaControls*); | 147 void toMediaControls(const MediaControls*); |
| 148 | 148 |
| 149 } | 149 } |
| 150 | 150 |
| 151 #endif | 151 #endif |
| OLD | NEW |