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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 // fullscreen element, and being dominant in the viewport. | 277 // fullscreen element, and being dominant in the viewport. |
278 // | 278 // |
279 // TODO(zqzhang): merge with becameDominantVisibleContent(). See | 279 // TODO(zqzhang): merge with becameDominantVisibleContent(). See |
280 // https://crbug.com/696211 | 280 // https://crbug.com/696211 |
281 virtual void setIsEffectivelyFullscreen(bool) {} | 281 virtual void setIsEffectivelyFullscreen(bool) {} |
282 | 282 |
283 virtual void enabledAudioTracksChanged( | 283 virtual void enabledAudioTracksChanged( |
284 const WebVector<TrackId>& enabledTrackIds) {} | 284 const WebVector<TrackId>& enabledTrackIds) {} |
285 // |selectedTrackId| is null if no track is selected. | 285 // |selectedTrackId| is null if no track is selected. |
286 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {} | 286 virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {} |
| 287 |
| 288 // TODO(kainino): This is for a prototype implementation for getting the |
| 289 // width, height, and timestamp of the last frame uploaded to a WebGL |
| 290 // texture. https://crbug.com/639174 |
| 291 virtual bool getLastUploadedFrameInfo(unsigned* width, |
| 292 unsigned* height, |
| 293 double* timestamp) { |
| 294 return false; |
| 295 } |
287 }; | 296 }; |
288 | 297 |
289 } // namespace blink | 298 } // namespace blink |
290 | 299 |
291 #endif | 300 #endif |
OLD | NEW |