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

Unified Diff: Source/core/html/forms/TextFieldInputType.cpp

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/forms/RangeInputType.h ('k') | Source/core/html/imports/HTMLImportChild.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/TextFieldInputType.cpp
diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp
index 0ea54a131a7f49cbc7b11085f97e49f0206503ec..00712f24db59a9a3e9c62beff48060e871f39690 100644
--- a/Source/core/html/forms/TextFieldInputType.cpp
+++ b/Source/core/html/forms/TextFieldInputType.cpp
@@ -64,12 +64,12 @@ private:
inline DataListIndicatorElement(Document& document) : HTMLDivElement(document) { }
inline HTMLInputElement* hostInput() const { return toHTMLInputElement(shadowHost()); }
- virtual LayoutObject* createLayoutObject(const ComputedStyle&) override
+ LayoutObject* createLayoutObject(const ComputedStyle&) override
{
return new LayoutDetailsMarker(this);
}
- virtual void* preDispatchEventHandler(Event* event) override
+ void* preDispatchEventHandler(Event* event) override
{
// Chromium opens autofill popup in a mousedown event listener
// associated to the document. We don't want to open it in this case
@@ -80,7 +80,7 @@ private:
return nullptr;
}
- virtual void defaultEventHandler(Event* event) override
+ void defaultEventHandler(Event* event) override
{
ASSERT(document().isActive());
if (event->type() != EventTypeNames::click)
@@ -92,7 +92,7 @@ private:
}
}
- virtual bool willRespondToMouseClickEvents() override
+ bool willRespondToMouseClickEvents() override
{
return hostInput() && !hostInput()->isDisabledOrReadOnly() && document().isActive();
}
« no previous file with comments | « Source/core/html/forms/RangeInputType.h ('k') | Source/core/html/imports/HTMLImportChild.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698