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

Unified Diff: Source/core/html/HTMLFrameElementBase.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/HTMLFrameElement.h ('k') | Source/core/html/HTMLFrameOwnerElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFrameElementBase.h
diff --git a/Source/core/html/HTMLFrameElementBase.h b/Source/core/html/HTMLFrameElementBase.h
index dbf40abd1c1d6ec729981f31c2caedb0f2aeb2ac..9143fd4a751889a137b605d92cf7d5fffb6d3d30 100644
--- a/Source/core/html/HTMLFrameElementBase.h
+++ b/Source/core/html/HTMLFrameElementBase.h
@@ -31,36 +31,36 @@ namespace blink {
class HTMLFrameElementBase : public HTMLFrameOwnerElement {
public:
- virtual ScrollbarMode scrollingMode() const override final { return m_scrolling; }
+ ScrollbarMode scrollingMode() const final { return m_scrolling; }
int marginWidth() const { return m_marginWidth; }
int marginHeight() const { return m_marginHeight; }
- virtual bool canContainRangeEndPoint() const override final { return false; }
+ bool canContainRangeEndPoint() const final { return false; }
protected:
HTMLFrameElementBase(const QualifiedName&, Document&);
bool isURLAllowed() const;
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
- virtual void didNotifySubtreeInsertionsToDocument() override final;
- virtual void attach(const AttachContext& = AttachContext()) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ void didNotifySubtreeInsertionsToDocument() final;
+ void attach(const AttachContext& = AttachContext()) override;
// FIXME: Remove this method once we have input routing in the browser
// process. See http://crbug.com/339659.
- virtual void defaultEventHandler(Event*) override;
+ void defaultEventHandler(Event*) override;
private:
- virtual bool supportsFocus() const override final;
- virtual void setFocus(bool) override final;
+ bool supportsFocus() const final;
+ void setFocus(bool) final;
- virtual bool isURLAttribute(const Attribute&) const override final;
- virtual bool hasLegalLinkAttribute(const QualifiedName&) const override final;
- virtual bool isHTMLContentAttribute(const Attribute&) const override final;
+ bool isURLAttribute(const Attribute&) const final;
+ bool hasLegalLinkAttribute(const QualifiedName&) const final;
+ bool isHTMLContentAttribute(const Attribute&) const final;
- virtual bool areAuthorShadowsAllowed() const override final { return false; }
+ bool areAuthorShadowsAllowed() const final { return false; }
void setLocation(const String&);
void setNameAndOpenURL();
« no previous file with comments | « Source/core/html/HTMLFrameElement.h ('k') | Source/core/html/HTMLFrameOwnerElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698