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

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

Issue 2204673004: WIP - WebMediaPlayer switch media renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and some fixes. 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
« no previous file with comments | « third_party/WebKit/Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 190
191 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When 191 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When
192 // this is true, the video layer will be removed from the layer tree when 192 // this is true, the video layer will be removed from the layer tree when
193 // entering fullscreen, and the WebMediaPlayer is responsible for displaying 193 // entering fullscreen, and the WebMediaPlayer is responsible for displaying
194 // the video in enteredFullscreen(). 194 // the video in enteredFullscreen().
195 virtual bool supportsOverlayFullscreenVideo() { return false; } 195 virtual bool supportsOverlayFullscreenVideo() { return false; }
196 // Inform WebMediaPlayer when the element has entered/exited fullscreen. 196 // Inform WebMediaPlayer when the element has entered/exited fullscreen.
197 virtual void enteredFullscreen() { } 197 virtual void enteredFullscreen() { }
198 virtual void exitedFullscreen() { } 198 virtual void exitedFullscreen() { }
199 199
200 // These are called when any ancestor enters/exits full screen.
201 virtual void ancestorEnteredFullscreen() {}
202 virtual void ancestorExitedFullscreen() {}
203
200 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { } 204 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { }
201 // |selectedTrackId| is null if no track is selected. 205 // |selectedTrackId| is null if no track is selected.
202 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } 206 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { }
203 }; 207 };
204 208
205 } // namespace blink 209 } // namespace blink
206 210
207 #endif 211 #endif
OLDNEW
« no previous file with comments | « 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