| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 153 |
| 154 // Methods called by MediaControlsMediaEventListener. | 154 // Methods called by MediaControlsMediaEventListener. |
| 155 void onVolumeChange(); | 155 void onVolumeChange(); |
| 156 void onFocusIn(); | 156 void onFocusIn(); |
| 157 void onTimeUpdate(); | 157 void onTimeUpdate(); |
| 158 void onDurationChange(); | 158 void onDurationChange(); |
| 159 void onPlay(); | 159 void onPlay(); |
| 160 void onPause(); | 160 void onPause(); |
| 161 void onTextTracksAddedOrRemoved(); | 161 void onTextTracksAddedOrRemoved(); |
| 162 void onTextTracksChanged(); | 162 void onTextTracksChanged(); |
| 163 void onError(); |
| 164 void onLoadedMetadata(); |
| 163 | 165 |
| 164 Member<HTMLMediaElement> m_mediaElement; | 166 Member<HTMLMediaElement> m_mediaElement; |
| 165 | 167 |
| 166 // Media control elements. | 168 // Media control elements. |
| 167 Member<MediaControlOverlayEnclosureElement> m_overlayEnclosure; | 169 Member<MediaControlOverlayEnclosureElement> m_overlayEnclosure; |
| 168 Member<MediaControlOverlayPlayButtonElement> m_overlayPlayButton; | 170 Member<MediaControlOverlayPlayButtonElement> m_overlayPlayButton; |
| 169 Member<MediaControlCastButtonElement> m_overlayCastButton; | 171 Member<MediaControlCastButtonElement> m_overlayCastButton; |
| 170 Member<MediaControlPanelEnclosureElement> m_enclosure; | 172 Member<MediaControlPanelEnclosureElement> m_enclosure; |
| 171 Member<MediaControlPanelElement> m_panel; | 173 Member<MediaControlPanelElement> m_panel; |
| 172 Member<MediaControlPlayButtonElement> m_playButton; | 174 Member<MediaControlPlayButtonElement> m_playButton; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 198 int m_panelWidth; | 200 int m_panelWidth; |
| 199 | 201 |
| 200 bool m_keepShowingUntilTimerFires : 1; | 202 bool m_keepShowingUntilTimerFires : 1; |
| 201 }; | 203 }; |
| 202 | 204 |
| 203 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 205 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
| 204 | 206 |
| 205 } // namespace blink | 207 } // namespace blink |
| 206 | 208 |
| 207 #endif | 209 #endif |
| OLD | NEW |