| 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 29 matching lines...) Expand all Loading... |
| 40 class HTMLImageLoader; | 40 class HTMLImageLoader; |
| 41 class GraphicsContext; | 41 class GraphicsContext; |
| 42 | 42 |
| 43 // GL types as defined in OpenGL ES 2.0 header file gl2.h from khronos.org. | 43 // GL types as defined in OpenGL ES 2.0 header file gl2.h from khronos.org. |
| 44 // That header cannot be included directly due to a conflict with NPAPI headers. | 44 // That header cannot be included directly due to a conflict with NPAPI headers. |
| 45 // See crbug.com/328085. | 45 // See crbug.com/328085. |
| 46 typedef unsigned GLenum; | 46 typedef unsigned GLenum; |
| 47 typedef int GC3Dint; | 47 typedef int GC3Dint; |
| 48 | 48 |
| 49 class HTMLVideoElement FINAL : public HTMLMediaElement, public CanvasImageSource
{ | 49 class HTMLVideoElement FINAL : public HTMLMediaElement, public CanvasImageSource
{ |
| 50 DEFINE_WRAPPERTYPEINFO(); |
| 50 public: | 51 public: |
| 51 static PassRefPtrWillBeRawPtr<HTMLVideoElement> create(Document&); | 52 static PassRefPtrWillBeRawPtr<HTMLVideoElement> create(Document&); |
| 52 virtual void trace(Visitor*) OVERRIDE; | 53 virtual void trace(Visitor*) OVERRIDE; |
| 53 | 54 |
| 54 unsigned videoWidth() const; | 55 unsigned videoWidth() const; |
| 55 unsigned videoHeight() const; | 56 unsigned videoHeight() const; |
| 56 | 57 |
| 57 // Fullscreen | 58 // Fullscreen |
| 58 void webkitEnterFullscreen(ExceptionState&); | 59 void webkitEnterFullscreen(ExceptionState&); |
| 59 void webkitExitFullscreen(); | 60 void webkitExitFullscreen(); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 bool hasAvailableVideoFrame() const; | 105 bool hasAvailableVideoFrame() const; |
| 105 virtual void updateDisplayState() OVERRIDE; | 106 virtual void updateDisplayState() OVERRIDE; |
| 106 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | 107 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
| 107 virtual void setDisplayMode(DisplayMode) OVERRIDE; | 108 virtual void setDisplayMode(DisplayMode) OVERRIDE; |
| 108 | 109 |
| 109 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 110 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
| 110 | 111 |
| 111 AtomicString m_defaultPosterURL; | 112 AtomicString m_defaultPosterURL; |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 } //namespace | 115 } // namespace blink |
| 115 | 116 |
| 116 #endif | 117 #endif // HTMLVideoElement_h |
| OLD | NEW |