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

Unified Diff: Source/core/html/shadow/TextControlInnerElements.h

Issue 131793003: Update remaining HTML classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove useless FINAL Created 6 years, 11 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/InbandTextTrack.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 e27843942b8a009691cdb9d0e10ac59a9fe6babf..60c02a590c8c846c6c0baebd8e5acd26c43cce43 100644
--- a/Source/core/html/shadow/TextControlInnerElements.h
+++ b/Source/core/html/shadow/TextControlInnerElements.h
@@ -40,7 +40,7 @@ public:
static PassRefPtr<TextControlInnerContainer> create(Document&);
protected:
TextControlInnerContainer(Document&);
- virtual RenderObject* createRenderer(RenderStyle*);
+ virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
};
class EditingViewPortElement FINAL : public HTMLDivElement {
@@ -59,11 +59,11 @@ class TextControlInnerTextElement FINAL : public HTMLDivElement {
public:
static PassRefPtr<TextControlInnerTextElement> create(Document&);
- virtual void defaultEventHandler(Event*);
+ virtual void defaultEventHandler(Event*) OVERRIDE;
private:
TextControlInnerTextElement(Document&);
- virtual RenderObject* createRenderer(RenderStyle*);
+ virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
virtual bool supportsFocus() const OVERRIDE { return false; }
};
@@ -72,7 +72,7 @@ class SearchFieldDecorationElement FINAL : public HTMLDivElement {
public:
static PassRefPtr<SearchFieldDecorationElement> create(Document&);
- virtual void defaultEventHandler(Event*);
+ virtual void defaultEventHandler(Event*) OVERRIDE;
virtual bool willRespondToMouseClickEvents() OVERRIDE;
private:
@@ -85,7 +85,7 @@ class SearchFieldCancelButtonElement FINAL : public HTMLDivElement {
public:
static PassRefPtr<SearchFieldCancelButtonElement> create(Document&);
- virtual void defaultEventHandler(Event*);
+ virtual void defaultEventHandler(Event*) OVERRIDE;
virtual bool willRespondToMouseClickEvents() OVERRIDE;
private:
@@ -112,9 +112,9 @@ public:
virtual ~InputFieldSpeechButtonElement();
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
- virtual void defaultEventHandler(Event*);
- virtual bool willRespondToMouseClickEvents();
- virtual bool isInputFieldSpeechButtonElement() const { return true; }
+ virtual void defaultEventHandler(Event*) OVERRIDE;
+ virtual bool willRespondToMouseClickEvents() OVERRIDE;
+ virtual bool isInputFieldSpeechButtonElement() const OVERRIDE { return true; }
SpeechInputState state() const { return m_state; }
void startSpeechInput();
void stopSpeechInput();
@@ -128,7 +128,7 @@ private:
InputFieldSpeechButtonElement(Document&);
SpeechInput* speechInput();
void setState(SpeechInputState state);
- virtual bool isMouseFocusable() const { return false; }
+ virtual bool isMouseFocusable() const OVERRIDE { return false; }
virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
bool m_capturing;
« no previous file with comments | « Source/core/html/shadow/SpinButtonElement.h ('k') | Source/core/html/track/InbandTextTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698