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

Side by Side Diff: third_party/WebKit/public/platform/WebMediaPlayer.h

Issue 2389473002: Media Remoting: Add RemotingController. (Closed)
Patch Set: Use BUILDFLAG. Created 4 years, 2 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When 219 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When
220 // this is true, the video layer will be removed from the layer tree when 220 // this is true, the video layer will be removed from the layer tree when
221 // entering fullscreen, and the WebMediaPlayer is responsible for displaying 221 // entering fullscreen, and the WebMediaPlayer is responsible for displaying
222 // the video in enteredFullscreen(). 222 // the video in enteredFullscreen().
223 virtual bool supportsOverlayFullscreenVideo() { return false; } 223 virtual bool supportsOverlayFullscreenVideo() { return false; }
224 // Inform WebMediaPlayer when the element has entered/exited fullscreen. 224 // Inform WebMediaPlayer when the element has entered/exited fullscreen.
225 virtual void enteredFullscreen() {} 225 virtual void enteredFullscreen() {}
226 virtual void exitedFullscreen() {} 226 virtual void exitedFullscreen() {}
227 227
228 // These are called when any ancestor enters/exits full screen.
229 virtual void ancestorEnteredFullscreen() {}
230 virtual void ancestorExitedFullscreen() {}
231
228 virtual void enabledAudioTracksChanged( 232 virtual void enabledAudioTracksChanged(
229 const WebVector<TrackId>& enabledTrackIds) {} 233 const WebVector<TrackId>& enabledTrackIds) {}
230 // |selectedTrackId| is null if no track is selected. 234 // |selectedTrackId| is null if no track is selected.
231 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {} 235 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {}
232 }; 236 };
233 237
234 } // namespace blink 238 } // namespace blink
235 239
236 #endif 240 #endif
OLDNEW
« media/media_options.gni ('K') | « third_party/WebKit/Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698