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

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

Issue 2749653003: Prototype HTMLVideoElement properties for WebGL texImage2D (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLTexture.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLTexture.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698