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

Unified Diff: Source/core/html/HTMLOptionElement.h

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/HTMLOptGroupElement.h ('k') | Source/core/html/HTMLOptionsCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOptionElement.h
diff --git a/Source/core/html/HTMLOptionElement.h b/Source/core/html/HTMLOptionElement.h
index b7fefa2084f24c0ee654b4c7d0e76422584e3304..b4fd56b688a11b951b7876cec432c19bc0826dac 100644
--- a/Source/core/html/HTMLOptionElement.h
+++ b/Source/core/html/HTMLOptionElement.h
@@ -33,7 +33,7 @@ class ExceptionState;
class HTMLDataListElement;
class HTMLSelectElement;
-class HTMLOptionElement FINAL : public HTMLElement {
+class HTMLOptionElement final : public HTMLElement {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<HTMLOptionElement> create(Document&);
@@ -59,7 +59,7 @@ public:
bool ownElementDisabled() const { return m_disabled; }
- virtual bool isDisabledFormControl() const OVERRIDE;
+ virtual bool isDisabledFormControl() const override;
String textIndentedToRespectGroupLabel() const;
@@ -73,21 +73,21 @@ private:
explicit HTMLOptionElement(Document&);
virtual ~HTMLOptionElement();
- virtual bool rendererIsFocusable() const OVERRIDE { return true; }
- virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
- virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
- virtual void removedFrom(ContainerNode*) OVERRIDE;
- virtual void accessKeyAction(bool) OVERRIDE;
- virtual void childrenChanged(const ChildrenChange&) OVERRIDE;
+ virtual bool rendererIsFocusable() const override { return true; }
+ virtual void attach(const AttachContext& = AttachContext()) override;
+ virtual void detach(const AttachContext& = AttachContext()) override;
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ virtual void removedFrom(ContainerNode*) override;
+ virtual void accessKeyAction(bool) override;
+ virtual void childrenChanged(const ChildrenChange&) override;
// <option> never has a renderer so we manually manage a cached style.
void updateNonRenderStyle();
- virtual RenderStyle* nonRendererStyle() const OVERRIDE;
- virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
- virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE;
- virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE;
+ virtual RenderStyle* nonRendererStyle() const override;
+ virtual PassRefPtr<RenderStyle> customStyleForRenderer() override;
+ virtual void didRecalcStyle(StyleRecalcChange) override;
+ virtual void didAddUserAgentShadowRoot(ShadowRoot&) override;
String collectOptionInnerText() const;
« no previous file with comments | « Source/core/html/HTMLOptGroupElement.h ('k') | Source/core/html/HTMLOptionsCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698