| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 DECLARE_VIRTUAL_TRACE(); | 52 DECLARE_VIRTUAL_TRACE(); |
| 53 | 53 |
| 54 unsigned videoWidth() const; | 54 unsigned videoWidth() const; |
| 55 unsigned videoHeight() const; | 55 unsigned videoHeight() const; |
| 56 | 56 |
| 57 // Fullscreen | 57 // Fullscreen |
| 58 void webkitEnterFullscreen(); | 58 void webkitEnterFullscreen(); |
| 59 void webkitExitFullscreen(); | 59 void webkitExitFullscreen(); |
| 60 bool webkitSupportsFullscreen(); | 60 bool webkitSupportsFullscreen(); |
| 61 bool webkitDisplayingFullscreen(); | 61 bool webkitDisplayingFullscreen(); |
| 62 bool usesOverlayFullscreenVideo() const override; |
| 62 | 63 |
| 63 // Statistics | 64 // Statistics |
| 64 unsigned webkitDecodedFrameCount() const; | 65 unsigned webkitDecodedFrameCount() const; |
| 65 unsigned webkitDroppedFrameCount() const; | 66 unsigned webkitDroppedFrameCount() const; |
| 66 | 67 |
| 67 // Used by canvas to gain raw pixel access | 68 // Used by canvas to gain raw pixel access |
| 68 void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const; | 69 void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const; |
| 69 | 70 |
| 70 // Used by WebGL to do GPU-GPU textures copy if possible. | 71 // Used by WebGL to do GPU-GPU textures copy if possible. |
| 71 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje
ct texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flip
Y); | 72 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje
ct texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flip
Y); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 void setDisplayMode(DisplayMode) override; | 104 void setDisplayMode(DisplayMode) override; |
| 104 | 105 |
| 105 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 106 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
| 106 | 107 |
| 107 AtomicString m_defaultPosterURL; | 108 AtomicString m_defaultPosterURL; |
| 108 }; | 109 }; |
| 109 | 110 |
| 110 } // namespace blink | 111 } // namespace blink |
| 111 | 112 |
| 112 #endif // HTMLVideoElement_h | 113 #endif // HTMLVideoElement_h |
| OLD | NEW |