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

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

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Media control elements. 107 // Media control elements.
108 RawPtrWillBeMember<MediaControlOverlayPlayButtonElement> m_overlayPlayButton ; 108 RawPtrWillBeMember<MediaControlOverlayPlayButtonElement> m_overlayPlayButton ;
109 RawPtrWillBeMember<MediaControlOverlayEnclosureElement> m_overlayEnclosure; 109 RawPtrWillBeMember<MediaControlOverlayEnclosureElement> m_overlayEnclosure;
110 RawPtrWillBeMember<MediaControlPlayButtonElement> m_playButton; 110 RawPtrWillBeMember<MediaControlPlayButtonElement> m_playButton;
111 RawPtrWillBeMember<MediaControlCurrentTimeDisplayElement> m_currentTimeDispl ay; 111 RawPtrWillBeMember<MediaControlCurrentTimeDisplayElement> m_currentTimeDispl ay;
112 RawPtrWillBeMember<MediaControlTimelineElement> m_timeline; 112 RawPtrWillBeMember<MediaControlTimelineElement> m_timeline;
113 RawPtrWillBeMember<MediaControlMuteButtonElement> m_muteButton; 113 RawPtrWillBeMember<MediaControlMuteButtonElement> m_muteButton;
114 RawPtrWillBeMember<MediaControlVolumeSliderElement> m_volumeSlider; 114 RawPtrWillBeMember<MediaControlVolumeSliderElement> m_volumeSlider;
115 RawPtrWillBeMember<MediaControlToggleClosedCaptionsButtonElement> m_toggleCl osedCaptionsButton; 115 RawPtrWillBeMember<MediaControlToggleClosedCaptionsButtonElement> m_toggleCl osedCaptionsButton;
116 RawPtrWillBeMember<MediaControlFullscreenButtonElement> m_fullScreenButton; 116 RawPtrWillBeMember<MediaControlFullscreenButtonElement> m_fullScreenButton;
117 RawPtrWillBeMember<MediaControlCastOffButtonElement> m_castButton;
117 RawPtrWillBeMember<MediaControlTimeRemainingDisplayElement> m_durationDispla y; 118 RawPtrWillBeMember<MediaControlTimeRemainingDisplayElement> m_durationDispla y;
118 RawPtrWillBeMember<MediaControlPanelEnclosureElement> m_enclosure; 119 RawPtrWillBeMember<MediaControlPanelEnclosureElement> m_enclosure;
119 120
120 Timer<MediaControls> m_hideMediaControlsTimer; 121 Timer<MediaControls> m_hideMediaControlsTimer;
121 bool m_isMouseOverControls : 1; 122 bool m_isMouseOverControls : 1;
122 bool m_isPausedForScrubbing : 1; 123 bool m_isPausedForScrubbing : 1;
123 }; 124 };
124 125
125 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 126 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
126 127
127 } 128 }
128 129
129 #endif 130 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698