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

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

Issue 1655083002: Enable SurfaceView fullscreen video on Android with WebMediaPlayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@avda-sv
Patch Set: Created 4 years, 10 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Sets the poster image URL. 194 // Sets the poster image URL.
195 virtual void setPoster(const WebURL& poster) { } 195 virtual void setPoster(const WebURL& poster) { }
196 196
197 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When 197 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When
198 // this is true, the video layer will be removed from the layer tree when 198 // this is true, the video layer will be removed from the layer tree when
199 // entering fullscreen, and the WebMediaPlayer is responsible for displaying 199 // entering fullscreen, and the WebMediaPlayer is responsible for displaying
200 // the video in enterFullscreen(). 200 // the video in enterFullscreen().
201 virtual bool supportsOverlayFullscreenVideo() { return false; } 201 virtual bool supportsOverlayFullscreenVideo() { return false; }
202 // Instruct WebMediaPlayer to enter/exit fullscreen. 202 // Instruct WebMediaPlayer to enter/exit fullscreen.
203 virtual void enterFullscreen() { } 203 virtual void enterFullscreen() { }
204 virtual void exitedFullscreen() { }
204 205
205 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { } 206 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { }
206 // |selectedTrackId| is null if no track is selected. 207 // |selectedTrackId| is null if no track is selected.
207 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } 208 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { }
208 }; 209 };
209 210
210 } // namespace blink 211 } // namespace blink
211 212
212 #endif 213 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698