Chromium Code Reviews| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { } | 200 virtual void enabledAudioTracksChanged(const WebVector<TrackId>& enabledTrac kIds) { } |
| 201 // |selectedTrackId| is null if no track is selected. | 201 // |selectedTrackId| is null if no track is selected. |
| 202 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } | 202 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) { } |
| 203 | |
| 204 // Inform the WebMediaPlayer whether the video enters/exits full screen disp lay | |
| 205 // when its parent element enters/exits full screen. | |
| 206 virtual void videoEnteredFullscreen() {} | |
| 207 virtual void videoExitedFullscreen() {} | |
|
liberato (no reviews please)
2016/08/29 16:49:12
please move these to be near entered/exitedFullscr
xjz
2016/09/09 23:13:06
Done.
| |
| 203 }; | 208 }; |
| 204 | 209 |
| 205 } // namespace blink | 210 } // namespace blink |
| 206 | 211 |
| 207 #endif | 212 #endif |
| OLD | NEW |