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

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

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/TextFieldInputType.h ('k') | Source/core/html/forms/TextInputType.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 d0f7f97c31aa0087526c1057d75969a278daec03..93f9b6004e4acb57d7edba40cacd277485a1a5b1 100644
--- a/Source/core/html/forms/TextFieldInputType.cpp
+++ b/Source/core/html/forms/TextFieldInputType.cpp
@@ -59,17 +59,17 @@ namespace blink {
using namespace HTMLNames;
-class DataListIndicatorElement FINAL : public HTMLDivElement {
+class DataListIndicatorElement final : public HTMLDivElement {
private:
inline DataListIndicatorElement(Document& document) : HTMLDivElement(document) { }
inline HTMLInputElement* hostInput() const { return toHTMLInputElement(shadowHost()); }
- virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE
+ virtual RenderObject* createRenderer(RenderStyle*) override
{
return new RenderDetailsMarker(this);
}
- virtual void* preDispatchEventHandler(Event* event) OVERRIDE
+ virtual 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 0;
}
- virtual void defaultEventHandler(Event* event) OVERRIDE
+ virtual void defaultEventHandler(Event* event) override
{
ASSERT(document().isActive());
if (event->type() != EventTypeNames::click)
@@ -92,7 +92,7 @@ private:
}
}
- virtual bool willRespondToMouseClickEvents() OVERRIDE
+ virtual bool willRespondToMouseClickEvents() override
{
return hostInput() && !hostInput()->isDisabledOrReadOnly() && document().isActive();
}
« no previous file with comments | « Source/core/html/forms/TextFieldInputType.h ('k') | Source/core/html/forms/TextInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698