Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: Source/core/html/shadow/MediaControls.h

Issue 185363011: Merge/rename two MediaControlElements into their parent classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nit/oops Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698