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

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

Issue 2779273003: [Media Controls] Add UMA for timeline scrubber (Closed)
Patch Set: Address isherman's review comments 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 bool willRespondToMouseMoveEvents() override { return true; } 172 bool willRespondToMouseMoveEvents() override { return true; }
173 void defaultEventHandler(Event*) override; 173 void defaultEventHandler(Event*) override;
174 bool containsRelatedTarget(Event*); 174 bool containsRelatedTarget(Event*);
175 175
176 // Methods called by MediaControlsMediaEventListener. 176 // Methods called by MediaControlsMediaEventListener.
177 void onVolumeChange(); 177 void onVolumeChange();
178 void onFocusIn(); 178 void onFocusIn();
179 void onTimeUpdate(); 179 void onTimeUpdate();
180 void onDurationChange(); 180 void onDurationChange();
181 void onPlay(); 181 void onPlay();
182 void onPlaying();
182 void onPause(); 183 void onPause();
183 void onTextTracksAddedOrRemoved(); 184 void onTextTracksAddedOrRemoved();
184 void onTextTracksChanged(); 185 void onTextTracksChanged();
185 void onError(); 186 void onError();
186 void onLoadedMetadata(); 187 void onLoadedMetadata();
187 void onEnteredFullscreen(); 188 void onEnteredFullscreen();
188 void onExitedFullscreen(); 189 void onExitedFullscreen();
189 190
190 // Internal cast related methods. 191 // Internal cast related methods.
191 void startedCasting(); 192 void startedCasting();
(...skipping 41 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