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

Unified Diff: Source/core/rendering/RenderEmbeddedObject.h

Issue 14383002: Apply FINAL to the RenderObject hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderEmbeddedObject.h
diff --git a/Source/core/rendering/RenderEmbeddedObject.h b/Source/core/rendering/RenderEmbeddedObject.h
index 72f8bc3803d29af40edfdd806145d85e82058b79..db3fc26745ba7801b17184f4222721368922bcbe 100644
--- a/Source/core/rendering/RenderEmbeddedObject.h
+++ b/Source/core/rendering/RenderEmbeddedObject.h
@@ -53,46 +53,46 @@ public:
void handleUnavailablePluginIndicatorEvent(Event*);
- virtual bool allowsAcceleratedCompositing() const;
+ virtual bool allowsAcceleratedCompositing() const FINAL;
protected:
- virtual void paintReplaced(PaintInfo&, const LayoutPoint&);
- virtual void paint(PaintInfo&, const LayoutPoint&);
+ virtual void paintReplaced(PaintInfo&, const LayoutPoint&) FINAL;
+ virtual void paint(PaintInfo&, const LayoutPoint&) FINAL;
- virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const;
+ virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const FINAL;
const RenderObjectChildList* children() const { return &m_children; }
RenderObjectChildList* children() { return &m_children; }
protected:
- virtual void layout() OVERRIDE;
+ virtual void layout() OVERRIDE FINAL;
private:
virtual const char* renderName() const { return "RenderEmbeddedObject"; }
- virtual bool isEmbeddedObject() const { return true; }
+ virtual bool isEmbeddedObject() const FINAL { return true; }
void paintSnapshotImage(PaintInfo&, const LayoutPoint&, Image*);
- virtual void paintContents(PaintInfo&, const LayoutPoint&) OVERRIDE;
+ virtual void paintContents(PaintInfo&, const LayoutPoint&) OVERRIDE FINAL;
- virtual bool requiresLayer() const;
+ virtual bool requiresLayer() const FINAL;
- virtual void viewCleared();
+ virtual void viewCleared() FINAL;
- virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE;
+ virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE FINAL;
- virtual bool scroll(ScrollDirection, ScrollGranularity, float multiplier, Node** stopNode);
- virtual bool logicalScroll(ScrollLogicalDirection, ScrollGranularity, float multiplier, Node** stopNode);
+ virtual bool scroll(ScrollDirection, ScrollGranularity, float multiplier, Node** stopNode) FINAL;
+ virtual bool logicalScroll(ScrollLogicalDirection, ScrollGranularity, float multiplier, Node** stopNode) FINAL;
void setUnavailablePluginIndicatorIsPressed(bool);
bool isInUnavailablePluginIndicator(MouseEvent*) const;
bool isInUnavailablePluginIndicator(const LayoutPoint&) const;
bool getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path&, FloatRect& replacementTextRect, Font&, TextRun&, float& textWidth) const;
- virtual bool canHaveChildren() const;
- virtual RenderObjectChildList* virtualChildren() { return children(); }
- virtual const RenderObjectChildList* virtualChildren() const { return children(); }
+ virtual bool canHaveChildren() const FINAL;
+ virtual RenderObjectChildList* virtualChildren() FINAL { return children(); }
+ virtual const RenderObjectChildList* virtualChildren() const FINAL { return children(); }
- virtual bool canHaveWidget() const { return true; }
+ virtual bool canHaveWidget() const FINAL { return true; }
bool m_hasFallbackContent; // FIXME: This belongs on HTMLObjectElement.

Powered by Google App Engine
This is Rietveld 408576698