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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // Container for the media control elements. | 108 // Container for the media control elements. |
109 MediaControlPanelElement* m_panel; | 109 MediaControlPanelElement* m_panel; |
110 | 110 |
111 // Container for the text track cues. | 111 // Container for the text track cues. |
112 MediaControlTextTrackContainerElement* m_textDisplayContainer; | 112 MediaControlTextTrackContainerElement* m_textDisplayContainer; |
113 | 113 |
114 // Media control elements. | 114 // Media control elements. |
115 MediaControlPlayButtonElement* m_playButton; | 115 MediaControlPlayButtonElement* m_playButton; |
116 MediaControlCurrentTimeDisplayElement* m_currentTimeDisplay; | 116 MediaControlCurrentTimeDisplayElement* m_currentTimeDisplay; |
117 MediaControlTimelineElement* m_timeline; | 117 MediaControlTimelineElement* m_timeline; |
118 MediaControlPanelMuteButtonElement* m_panelMuteButton; | 118 MediaControlMuteButtonElement* m_muteButton; |
119 MediaControlPanelVolumeSliderElement* m_volumeSlider; | 119 MediaControlVolumeSliderElement* m_volumeSlider; |
120 MediaControlToggleClosedCaptionsButtonElement* m_toggleClosedCaptionsButton; | 120 MediaControlToggleClosedCaptionsButtonElement* m_toggleClosedCaptionsButton; |
121 MediaControlFullscreenButtonElement* m_fullScreenButton; | 121 MediaControlFullscreenButtonElement* m_fullScreenButton; |
122 MediaControlTimeRemainingDisplayElement* m_durationDisplay; | 122 MediaControlTimeRemainingDisplayElement* m_durationDisplay; |
123 MediaControlPanelEnclosureElement* m_enclosure; | 123 MediaControlPanelEnclosureElement* m_enclosure; |
124 | 124 |
125 Timer<MediaControls> m_hideFullscreenControlsTimer; | 125 Timer<MediaControls> m_hideFullscreenControlsTimer; |
126 bool m_isFullscreen; | 126 bool m_isFullscreen; |
127 bool m_isMouseOverControls; | 127 bool m_isMouseOverControls; |
128 }; | 128 }; |
129 | 129 |
130 DEFINE_NODE_TYPE_CASTS(MediaControls, isMediaControls()); | 130 DEFINE_NODE_TYPE_CASTS(MediaControls, isMediaControls()); |
131 | 131 |
132 } | 132 } |
133 | 133 |
134 #endif | 134 #endif |
OLD | NEW |