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

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

Issue 2757323002: Prevent Media Controls from hiding when the user is interacting via the keyboard (Closed)
Patch Set: Created 3 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
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void onTimeUpdate(); 179 void onTimeUpdate();
180 void onDurationChange(); 180 void onDurationChange();
181 void onPlay(); 181 void onPlay();
182 void onPause(); 182 void onPause();
183 void onTextTracksAddedOrRemoved(); 183 void onTextTracksAddedOrRemoved();
184 void onTextTracksChanged(); 184 void onTextTracksChanged();
185 void onError(); 185 void onError();
186 void onLoadedMetadata(); 186 void onLoadedMetadata();
187 void onEnteredFullscreen(); 187 void onEnteredFullscreen();
188 void onExitedFullscreen(); 188 void onExitedFullscreen();
189 void onPanelKeypress();
189 190
190 // Internal cast related methods. 191 // Internal cast related methods.
191 void startedCasting(); 192 void startedCasting();
192 void stoppedCasting(); 193 void stoppedCasting();
193 void refreshCastButtonVisibility(); 194 void refreshCastButtonVisibility();
194 195
195 Member<HTMLMediaElement> m_mediaElement; 196 Member<HTMLMediaElement> m_mediaElement;
196 197
197 // Media control elements. 198 // Media control elements.
198 Member<MediaControlOverlayEnclosureElement> m_overlayEnclosure; 199 Member<MediaControlOverlayEnclosureElement> m_overlayEnclosure;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 IntSize m_size; 234 IntSize m_size;
234 235
235 bool m_keepShowingUntilTimerFires : 1; 236 bool m_keepShowingUntilTimerFires : 1;
236 }; 237 };
237 238
238 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 239 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
239 240
240 } // namespace blink 241 } // namespace blink
241 242
242 #endif 243 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698