| 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 17 matching lines...) Expand all Loading... |
| 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; | 36 class TextTrackContainer; |
| 37 | 37 |
| 38 class MediaControls final : public HTMLDivElement { | 38 class CORE_EXPORT MediaControls final : public HTMLDivElement { |
| 39 public: | 39 public: |
| 40 static PassRefPtrWillBeRawPtr<MediaControls> create(HTMLMediaElement&); | 40 static PassRefPtrWillBeRawPtr<MediaControls> create(HTMLMediaElement&); |
| 41 | 41 |
| 42 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } | 42 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } |
| 43 | 43 |
| 44 void reset(); | 44 void reset(); |
| 45 | 45 |
| 46 void show(); | 46 void show(); |
| 47 void hide(); | 47 void hide(); |
| 48 | 48 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 int m_panelWidth; | 152 int m_panelWidth; |
| 153 | 153 |
| 154 bool m_allowHiddenVolumeControls : 1; | 154 bool m_allowHiddenVolumeControls : 1; |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 157 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
| 158 | 158 |
| 159 } | 159 } |
| 160 | 160 |
| 161 #endif | 161 #endif |
| OLD | NEW |