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

Unified Diff: Source/core/html/shadow/TextControlInnerElements.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/shadow/SpinButtonElement.h ('k') | Source/core/html/track/AudioTrack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/TextControlInnerElements.h
diff --git a/Source/core/html/shadow/TextControlInnerElements.h b/Source/core/html/shadow/TextControlInnerElements.h
index 2ce291c610898c0187a9b728b33b0e6f8537e5a8..67defa5ec1c91442b481e787d4ec23232e034cab 100644
--- a/Source/core/html/shadow/TextControlInnerElements.h
+++ b/Source/core/html/shadow/TextControlInnerElements.h
@@ -38,7 +38,7 @@ public:
protected:
explicit TextControlInnerContainer(Document&);
- virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
+ LayoutObject* createLayoutObject(const ComputedStyle&) override;
};
class EditingViewPortElement final : public HTMLDivElement {
@@ -47,49 +47,49 @@ public:
protected:
explicit EditingViewPortElement(Document&);
- virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
+ PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
private:
- virtual bool supportsFocus() const override { return false; }
+ bool supportsFocus() const override { return false; }
};
class TextControlInnerEditorElement final : public HTMLDivElement {
public:
static PassRefPtrWillBeRawPtr<TextControlInnerEditorElement> create(Document&);
- virtual void defaultEventHandler(Event*) override;
+ void defaultEventHandler(Event*) override;
private:
explicit TextControlInnerEditorElement(Document&);
- virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
- virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
- virtual bool supportsFocus() const override { return false; }
+ LayoutObject* createLayoutObject(const ComputedStyle&) override;
+ PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
+ bool supportsFocus() const override { return false; }
};
class SearchFieldDecorationElement final : public HTMLDivElement {
public:
static PassRefPtrWillBeRawPtr<SearchFieldDecorationElement> create(Document&);
- virtual void defaultEventHandler(Event*) override;
- virtual bool willRespondToMouseClickEvents() override;
+ void defaultEventHandler(Event*) override;
+ bool willRespondToMouseClickEvents() override;
private:
explicit SearchFieldDecorationElement(Document&);
- virtual const AtomicString& shadowPseudoId() const override;
- virtual bool supportsFocus() const override { return false; }
+ const AtomicString& shadowPseudoId() const override;
+ bool supportsFocus() const override { return false; }
};
class SearchFieldCancelButtonElement final : public HTMLDivElement {
public:
static PassRefPtrWillBeRawPtr<SearchFieldCancelButtonElement> create(Document&);
- virtual void defaultEventHandler(Event*) override;
- virtual bool willRespondToMouseClickEvents() override;
+ void defaultEventHandler(Event*) override;
+ bool willRespondToMouseClickEvents() override;
private:
explicit SearchFieldCancelButtonElement(Document&);
- virtual void detach(const AttachContext& = AttachContext()) override;
- virtual bool supportsFocus() const override { return false; }
+ void detach(const AttachContext& = AttachContext()) override;
+ bool supportsFocus() const override { return false; }
bool m_capturing;
};
« no previous file with comments | « Source/core/html/shadow/SpinButtonElement.h ('k') | Source/core/html/track/AudioTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698