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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // GL types as defined in OpenGL ES 2.0 header file gl2.h from khronos.org. 49 // GL types as defined in OpenGL ES 2.0 header file gl2.h from khronos.org.
50 // That header cannot be included directly due to a conflict with NPAPI headers. 50 // That header cannot be included directly due to a conflict with NPAPI headers.
51 // See crbug.com/328085. 51 // See crbug.com/328085.
52 typedef unsigned GLenum; 52 typedef unsigned GLenum;
53 typedef int GC3Dint; 53 typedef int GC3Dint;
54 54
55 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, public Canva sImageSource, public ImageBitmapSource { 55 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, public Canva sImageSource, public ImageBitmapSource {
56 DEFINE_WRAPPERTYPEINFO(); 56 DEFINE_WRAPPERTYPEINFO();
57 public: 57 public:
58 static PassRefPtrWillBeRawPtr<HTMLVideoElement> create(Document&); 58 static RawPtr<HTMLVideoElement> create(Document&);
59 DECLARE_VIRTUAL_TRACE(); 59 DECLARE_VIRTUAL_TRACE();
60 60
61 unsigned videoWidth() const; 61 unsigned videoWidth() const;
62 unsigned videoHeight() const; 62 unsigned videoHeight() const;
63 63
64 // Fullscreen 64 // Fullscreen
65 void webkitEnterFullscreen(); 65 void webkitEnterFullscreen();
66 void webkitExitFullscreen(); 66 void webkitExitFullscreen();
67 bool webkitSupportsFullscreen(); 67 bool webkitSupportsFullscreen();
68 bool webkitDisplayingFullscreen(); 68 bool webkitDisplayingFullscreen();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool isPresentationAttribute(const QualifiedName&) const override; 107 bool isPresentationAttribute(const QualifiedName&) const override;
108 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override; 108 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override;
109 bool hasVideo() const override { return webMediaPlayer() && webMediaPlayer() ->hasVideo(); } 109 bool hasVideo() const override { return webMediaPlayer() && webMediaPlayer() ->hasVideo(); }
110 bool isURLAttribute(const Attribute&) const override; 110 bool isURLAttribute(const Attribute&) const override;
111 const AtomicString imageSourceURL() const override; 111 const AtomicString imageSourceURL() const override;
112 112
113 void updateDisplayState() override; 113 void updateDisplayState() override;
114 void didMoveToNewDocument(Document& oldDocument) override; 114 void didMoveToNewDocument(Document& oldDocument) override;
115 void setDisplayMode(DisplayMode) override; 115 void setDisplayMode(DisplayMode) override;
116 116
117 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 117 Member<HTMLImageLoader> m_imageLoader;
118 118
119 AtomicString m_defaultPosterURL; 119 AtomicString m_defaultPosterURL;
120 }; 120 };
121 121
122 } // namespace blink 122 } // namespace blink
123 123
124 #endif // HTMLVideoElement_h 124 #endif // HTMLVideoElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLUnknownElement.h ('k') | third_party/WebKit/Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698