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

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, 10 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // GL types as defined in OpenGL ES 2.0 header file gl2.h from khronos.org. 44 // GL types as defined in OpenGL ES 2.0 header file gl2.h from khronos.org.
45 // That header cannot be included directly due to a conflict with NPAPI headers. 45 // That header cannot be included directly due to a conflict with NPAPI headers.
46 // See crbug.com/328085. 46 // See crbug.com/328085.
47 typedef unsigned GLenum; 47 typedef unsigned GLenum;
48 typedef int GC3Dint; 48 typedef int GC3Dint;
49 49
50 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, public Canva sImageSource, public ImageBitmapSource { 50 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, public Canva sImageSource, public ImageBitmapSource {
51 DEFINE_WRAPPERTYPEINFO(); 51 DEFINE_WRAPPERTYPEINFO();
52 public: 52 public:
53 static PassRefPtrWillBeRawPtr<HTMLVideoElement> create(Document&); 53 static RawPtr<HTMLVideoElement> create(Document&);
54 DECLARE_VIRTUAL_TRACE(); 54 DECLARE_VIRTUAL_TRACE();
55 55
56 unsigned videoWidth() const; 56 unsigned videoWidth() const;
57 unsigned videoHeight() const; 57 unsigned videoHeight() const;
58 58
59 // Fullscreen 59 // Fullscreen
60 void webkitEnterFullscreen(); 60 void webkitEnterFullscreen();
61 void webkitExitFullscreen(); 61 void webkitExitFullscreen();
62 bool webkitSupportsFullscreen(); 62 bool webkitSupportsFullscreen();
63 bool webkitDisplayingFullscreen(); 63 bool webkitDisplayingFullscreen();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 bool isPresentationAttribute(const QualifiedName&) const override; 102 bool isPresentationAttribute(const QualifiedName&) const override;
103 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override; 103 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override;
104 bool hasVideo() const override { return webMediaPlayer() && webMediaPlayer() ->hasVideo(); } 104 bool hasVideo() const override { return webMediaPlayer() && webMediaPlayer() ->hasVideo(); }
105 bool isURLAttribute(const Attribute&) const override; 105 bool isURLAttribute(const Attribute&) const override;
106 const AtomicString imageSourceURL() const override; 106 const AtomicString imageSourceURL() const override;
107 107
108 void updateDisplayState() override; 108 void updateDisplayState() override;
109 void didMoveToNewDocument(Document& oldDocument) override; 109 void didMoveToNewDocument(Document& oldDocument) override;
110 void setDisplayMode(DisplayMode) override; 110 void setDisplayMode(DisplayMode) override;
111 111
112 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 112 Member<HTMLImageLoader> m_imageLoader;
113 113
114 AtomicString m_defaultPosterURL; 114 AtomicString m_defaultPosterURL;
115 }; 115 };
116 116
117 } // namespace blink 117 } // namespace blink
118 118
119 #endif // HTMLVideoElement_h 119 #endif // HTMLVideoElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698