| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 222 |
| 223 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When | 223 // Whether the WebMediaPlayer supports overlay fullscreen video mode. When |
| 224 // this is true, the video layer will be removed from the layer tree when | 224 // this is true, the video layer will be removed from the layer tree when |
| 225 // entering fullscreen, and the WebMediaPlayer is responsible for displaying | 225 // entering fullscreen, and the WebMediaPlayer is responsible for displaying |
| 226 // the video in enteredFullscreen(). | 226 // the video in enteredFullscreen(). |
| 227 virtual bool supportsOverlayFullscreenVideo() { return false; } | 227 virtual bool supportsOverlayFullscreenVideo() { return false; } |
| 228 // Inform WebMediaPlayer when the element has entered/exited fullscreen. | 228 // Inform WebMediaPlayer when the element has entered/exited fullscreen. |
| 229 virtual void enteredFullscreen() {} | 229 virtual void enteredFullscreen() {} |
| 230 virtual void exitedFullscreen() {} | 230 virtual void exitedFullscreen() {} |
| 231 | 231 |
| 232 // Inform WebMediaPlayer when the element starts/stops being the dominant |
| 233 // visible content. |
| 234 virtual void becameDominantVisibleContent(bool isDominant) {} |
| 235 |
| 232 virtual void enabledAudioTracksChanged( | 236 virtual void enabledAudioTracksChanged( |
| 233 const WebVector<TrackId>& enabledTrackIds) {} | 237 const WebVector<TrackId>& enabledTrackIds) {} |
| 234 // |selectedTrackId| is null if no track is selected. | 238 // |selectedTrackId| is null if no track is selected. |
| 235 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {} | 239 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {} |
| 236 }; | 240 }; |
| 237 | 241 |
| 238 } // namespace blink | 242 } // namespace blink |
| 239 | 243 |
| 240 #endif | 244 #endif |
| OLD | NEW |