| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |