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

Unified Diff: Source/core/html/HTMLVideoElement.h

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLUnknownElement.h ('k') | Source/core/html/HTMLViewSourceDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLVideoElement.h
diff --git a/Source/core/html/HTMLVideoElement.h b/Source/core/html/HTMLVideoElement.h
index 7ded296594f0b102d0cb40cdba5cc40557c254b2..f02c93aae0b21da1c62f06da44943500a863c69e 100644
--- a/Source/core/html/HTMLVideoElement.h
+++ b/Source/core/html/HTMLVideoElement.h
@@ -77,34 +77,34 @@ public:
bool hasAvailableVideoFrame() const;
// FIXME: Remove this when WebMediaPlayerClientImpl::loadInternal does not depend on it.
- virtual KURL mediaPlayerPosterURL() override;
+ KURL mediaPlayerPosterURL() override;
// CanvasImageSource implementation
- virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const override;
- virtual bool isVideoElement() const override { return true; }
- virtual bool wouldTaintOrigin(SecurityOrigin*) const override;
- virtual FloatSize elementSize() const override;
- virtual const KURL& sourceURL() const override { return currentSrc(); }
+ PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const override;
+ bool isVideoElement() const override { return true; }
+ bool wouldTaintOrigin(SecurityOrigin*) const override;
+ FloatSize elementSize() const override;
+ const KURL& sourceURL() const override { return currentSrc(); }
- virtual bool isHTMLVideoElement() const override { return true; }
+ bool isHTMLVideoElement() const override { return true; }
private:
HTMLVideoElement(Document&);
- virtual bool layoutObjectIsNeeded(const ComputedStyle&) override;
- virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
- virtual void attach(const AttachContext& = AttachContext()) override;
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual bool isPresentationAttribute(const QualifiedName&) const override;
- virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) override;
- virtual bool hasVideo() const override { return webMediaPlayer() && webMediaPlayer()->hasVideo(); }
+ bool layoutObjectIsNeeded(const ComputedStyle&) override;
+ LayoutObject* createLayoutObject(const ComputedStyle&) override;
+ void attach(const AttachContext& = AttachContext()) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ bool isPresentationAttribute(const QualifiedName&) const override;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) override;
+ bool hasVideo() const override { return webMediaPlayer() && webMediaPlayer()->hasVideo(); }
bool supportsFullscreen() const;
- virtual bool isURLAttribute(const Attribute&) const override;
- virtual const AtomicString imageSourceURL() const override;
+ bool isURLAttribute(const Attribute&) const override;
+ const AtomicString imageSourceURL() const override;
- virtual void updateDisplayState() override;
- virtual void didMoveToNewDocument(Document& oldDocument) override;
- virtual void setDisplayMode(DisplayMode) override;
+ void updateDisplayState() override;
+ void didMoveToNewDocument(Document& oldDocument) override;
+ void setDisplayMode(DisplayMode) override;
OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
« no previous file with comments | « Source/core/html/HTMLUnknownElement.h ('k') | Source/core/html/HTMLViewSourceDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698