Index: Source/core/html/HTMLSelectElement.h |
diff --git a/Source/core/html/HTMLSelectElement.h b/Source/core/html/HTMLSelectElement.h |
index 82cfb1776dd32d670f4447e9cf624706fd85af22..f369140362dc31d036dc58a134e143e19caa8be3 100644 |
--- a/Source/core/html/HTMLSelectElement.h |
+++ b/Source/core/html/HTMLSelectElement.h |
@@ -38,7 +38,7 @@ class AutoscrollController; |
class ExceptionState; |
class HTMLOptionElement; |
-class HTMLSelectElement FINAL : public HTMLFormControlElementWithState, public TypeAheadDataSource { |
+class HTMLSelectElement final : public HTMLFormControlElementWithState, public TypeAheadDataSource { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&); |
@@ -52,10 +52,10 @@ public: |
void optionSelectedByUser(int index, bool dispatchChangeEvent, bool allowMultipleSelection = false); |
// For ValidityState |
- virtual String validationMessage() const OVERRIDE; |
- virtual bool valueMissing() const OVERRIDE; |
+ virtual String validationMessage() const override; |
+ virtual bool valueMissing() const override; |
- virtual void resetImpl() OVERRIDE; |
+ virtual void resetImpl() override; |
unsigned length() const; |
@@ -86,7 +86,7 @@ public: |
const WillBeHeapVector<RawPtrWillBeMember<HTMLElement> >& listItems() const; |
- virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE; |
+ virtual void accessKeyAction(bool sendMouseEvents) override; |
void accessKeySetSelectedIndex(int); |
void setMultiple(bool); |
@@ -125,37 +125,37 @@ public: |
HTMLOptionElement* spatialNavigationFocusedOption(); |
void handleMouseRelease(); |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor*) override; |
protected: |
HTMLSelectElement(Document&, HTMLFormElement*); |
private: |
- virtual const AtomicString& formControlType() const OVERRIDE; |
+ virtual const AtomicString& formControlType() const override; |
- virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; |
+ virtual bool shouldShowFocusRingOnMouseFocus() const override; |
- virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERRIDE; |
- virtual void dispatchBlurEvent(Element* newFocusedElemnet) OVERRIDE; |
+ virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) override; |
+ virtual void dispatchBlurEvent(Element* newFocusedElemnet) override; |
- virtual bool canStartSelection() const OVERRIDE { return false; } |
+ virtual bool canStartSelection() const override { return false; } |
- virtual bool isEnumeratable() const OVERRIDE { return true; } |
- virtual bool isInteractiveContent() const OVERRIDE; |
- virtual bool supportsAutofocus() const OVERRIDE; |
- virtual bool supportLabels() const OVERRIDE { return true; } |
+ virtual bool isEnumeratable() const override { return true; } |
+ virtual bool isInteractiveContent() const override; |
+ virtual bool supportsAutofocus() const override; |
+ virtual bool supportLabels() const override { return true; } |
- virtual FormControlState saveFormControlState() const OVERRIDE; |
- virtual void restoreFormControlState(const FormControlState&) OVERRIDE; |
+ virtual FormControlState saveFormControlState() const override; |
+ virtual void restoreFormControlState(const FormControlState&) override; |
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
- virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override; |
+ virtual bool isPresentationAttribute(const QualifiedName&) const override; |
- virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
- virtual bool appendFormData(FormDataList&, bool) OVERRIDE; |
- virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE; |
+ virtual RenderObject* createRenderer(RenderStyle*) override; |
+ virtual bool appendFormData(FormDataList&, bool) override; |
+ virtual void didAddUserAgentShadowRoot(ShadowRoot&) override; |
- virtual void defaultEventHandler(Event*) OVERRIDE; |
+ virtual void defaultEventHandler(Event*) override; |
void dispatchInputAndChangeEventForMenuList(bool requiresUserGesture = true); |
@@ -164,10 +164,10 @@ private: |
void typeAheadFind(KeyboardEvent*); |
void saveLastSelection(); |
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
- virtual bool isOptionalFormControl() const OVERRIDE { return !isRequiredFormControl(); } |
- virtual bool isRequiredFormControl() const OVERRIDE; |
+ virtual bool isOptionalFormControl() const override { return !isRequiredFormControl(); } |
+ virtual bool isRequiredFormControl() const override; |
bool hasPlaceholderLabelOption() const; |
@@ -204,14 +204,14 @@ private: |
int listIndexForOption(const HTMLOptionElement&); |
AutoscrollController* autoscrollController() const; |
- virtual void childrenChanged(const ChildrenChange&) OVERRIDE; |
- virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } |
- virtual void finishParsingChildren() OVERRIDE; |
+ virtual void childrenChanged(const ChildrenChange&) override; |
+ virtual bool areAuthorShadowsAllowed() const override { return false; } |
+ virtual void finishParsingChildren() override; |
// TypeAheadDataSource functions. |
- virtual int indexOfSelectedOption() const OVERRIDE; |
- virtual int optionCount() const OVERRIDE; |
- virtual String optionAtIndex(int index) const OVERRIDE; |
+ virtual int indexOfSelectedOption() const override; |
+ virtual int optionCount() const override; |
+ virtual String optionAtIndex(int index) const override; |
// m_listItems contains HTMLOptionElement, HTMLOptGroupElement, and HTMLHRElement objects. |
mutable WillBeHeapVector<RawPtrWillBeMember<HTMLElement> > m_listItems; |