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

Unified Diff: Source/core/html/HTMLCanvasElement.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/HTMLButtonElement.h ('k') | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCanvasElement.h
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
index 1086c73ad8d14231ced3306d2d8f84e7a7e29459..4ebc3110f9ebca0148e12644b87f28e0840f1f2f 100644
--- a/Source/core/html/HTMLCanvasElement.h
+++ b/Source/core/html/HTMLCanvasElement.h
@@ -73,7 +73,7 @@ class CORE_EXPORT HTMLCanvasElement final : public HTMLElement, public DocumentV
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLCanvasElement);
public:
DECLARE_NODE_FACTORY(HTMLCanvasElement);
- virtual ~HTMLCanvasElement();
+ ~HTMLCanvasElement() override;
void addObserver(CanvasObserver*);
void removeObserver(CanvasObserver*);
@@ -141,25 +141,25 @@ public:
bool shouldBeDirectComposited() const;
- virtual const AtomicString imageSourceURL() const override;
+ const AtomicString imageSourceURL() const override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ InsertionNotificationRequest insertedInto(ContainerNode*) override;
// DocumentVisibilityObserver implementation
- virtual void didChangeVisibilityState(PageVisibilityState) override;
+ void didChangeVisibilityState(PageVisibilityState) override;
// CanvasImageSource implementation
- virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const override;
- virtual bool wouldTaintOrigin(SecurityOrigin*) const override;
- virtual FloatSize elementSize() const override;
- virtual bool isCanvasElement() const override { return true; }
- virtual bool isOpaque() const override;
+ PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const override;
+ bool wouldTaintOrigin(SecurityOrigin*) const override;
+ FloatSize elementSize() const override;
+ bool isCanvasElement() const override { return true; }
+ bool isOpaque() const override;
// ImageBufferClient implementation
- virtual void notifySurfaceInvalid() override;
- virtual bool isDirty() override { return !m_dirtyRect.isEmpty(); }
- virtual void didFinalizeFrame() override;
- virtual void restoreCanvasMatrixClipStack() override;
+ void notifySurfaceInvalid() override;
+ bool isDirty() override { return !m_dirtyRect.isEmpty(); }
+ void didFinalizeFrame() override;
+ void restoreCanvasMatrixClipStack() override;
void doDeferredPaintInvalidation();
@@ -170,7 +170,7 @@ public:
static void registerRenderingContextFactory(PassOwnPtr<CanvasRenderingContextFactory>);
protected:
- virtual void didMoveToNewDocument(Document& oldDocument) override;
+ void didMoveToNewDocument(Document& oldDocument) override;
private:
explicit HTMLCanvasElement(Document&);
@@ -179,10 +179,10 @@ private:
static ContextFactoryVector& renderingContextFactories();
static CanvasRenderingContextFactory* getRenderingContextFactory(int);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
- virtual void didRecalcStyle(StyleRecalcChange) override;
- virtual bool areAuthorShadowsAllowed() const override { return false; }
+ void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ LayoutObject* createLayoutObject(const ComputedStyle&) override;
+ void didRecalcStyle(StyleRecalcChange) override;
+ bool areAuthorShadowsAllowed() const override { return false; }
void reset();
« no previous file with comments | « Source/core/html/HTMLButtonElement.h ('k') | Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698