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

Side by Side Diff: third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.h

Issue 2779273003: [Media Controls] Add UMA for timeline scrubber (Closed)
Patch Set: Appease MSVC Created 3 years, 8 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void onMediaControlsEnabledChange() override { 111 void onMediaControlsEnabledChange() override {
112 // There is no update because only the overlay is expected to change. 112 // There is no update because only the overlay is expected to change.
113 refreshCastButtonVisibilityWithoutUpdate(); 113 refreshCastButtonVisibilityWithoutUpdate();
114 } 114 }
115 // Methods called by MediaControlsMediaEventListener. 115 // Methods called by MediaControlsMediaEventListener.
116 void onVolumeChange() override; 116 void onVolumeChange() override;
117 void onFocusIn() override; 117 void onFocusIn() override;
118 void onTimeUpdate() override; 118 void onTimeUpdate() override;
119 void onDurationChange() override; 119 void onDurationChange() override;
120 void onPlay() override; 120 void onPlay() override;
121 void onPlaying() override;
121 void onPause() override; 122 void onPause() override;
122 void onTextTracksAddedOrRemoved() override; 123 void onTextTracksAddedOrRemoved() override;
123 void onTextTracksChanged() override; 124 void onTextTracksChanged() override;
124 void onError() override; 125 void onError() override;
125 void onLoadedMetadata() override; 126 void onLoadedMetadata() override;
126 void onEnteredFullscreen() override; 127 void onEnteredFullscreen() override;
127 void onExitedFullscreen() override; 128 void onExitedFullscreen() override;
128 Document& ownerDocument() { return document(); } 129 Document& ownerDocument() { return document(); }
129 130
130 DECLARE_VIRTUAL_TRACE(); 131 DECLARE_VIRTUAL_TRACE();
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 IntSize m_size; 230 IntSize m_size;
230 231
231 bool m_keepShowingUntilTimerFires : 1; 232 bool m_keepShowingUntilTimerFires : 1;
232 }; 233 };
233 234
234 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, isMediaControls()); 235 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, isMediaControls());
235 236
236 } // namespace blink 237 } // namespace blink
237 238
238 #endif 239 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698