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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 DEFINE_WRAPPERTYPEINFO(); |
51 public: | 51 public: |
52 static PassRefPtrWillBeRawPtr<HTMLVideoElement> create(Document&); | 52 static PassRefPtrWillBeRawPtr<HTMLVideoElement> create(Document&); |
53 virtual void trace(Visitor*) override; | 53 DECLARE_VIRTUAL_TRACE(); |
54 | 54 |
55 unsigned videoWidth() const; | 55 unsigned videoWidth() const; |
56 unsigned videoHeight() const; | 56 unsigned videoHeight() const; |
57 | 57 |
58 // Fullscreen | 58 // Fullscreen |
59 void webkitEnterFullscreen(ExceptionState&); | 59 void webkitEnterFullscreen(ExceptionState&); |
60 void webkitExitFullscreen(); | 60 void webkitExitFullscreen(); |
61 bool webkitSupportsFullscreen(); | 61 bool webkitSupportsFullscreen(); |
62 bool webkitDisplayingFullscreen(); | 62 bool webkitDisplayingFullscreen(); |
63 | 63 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 virtual void setDisplayMode(DisplayMode) override; | 107 virtual void setDisplayMode(DisplayMode) override; |
108 | 108 |
109 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 109 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
110 | 110 |
111 AtomicString m_defaultPosterURL; | 111 AtomicString m_defaultPosterURL; |
112 }; | 112 }; |
113 | 113 |
114 } // namespace blink | 114 } // namespace blink |
115 | 115 |
116 #endif // HTMLVideoElement_h | 116 #endif // HTMLVideoElement_h |
OLD | NEW |