diff options
Diffstat (limited to 'Source/WebCore/html/HTMLFormControlElementWithState.h')
-rw-r--r-- | Source/WebCore/html/HTMLFormControlElementWithState.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/Source/WebCore/html/HTMLFormControlElementWithState.h b/Source/WebCore/html/HTMLFormControlElementWithState.h index 99f04e053..72a145358 100644 --- a/Source/WebCore/html/HTMLFormControlElementWithState.h +++ b/Source/WebCore/html/HTMLFormControlElementWithState.h @@ -21,8 +21,7 @@ * */ -#ifndef HTMLFormControlElementWithState_h -#define HTMLFormControlElementWithState_h +#pragma once #include "HTMLFormControlElement.h" @@ -34,24 +33,21 @@ class HTMLFormControlElementWithState : public HTMLFormControlElement { public: virtual ~HTMLFormControlElementWithState(); - virtual bool canContainRangeEndPoint() const override { return false; } + bool canContainRangeEndPoint() const override { return false; } virtual bool shouldSaveAndRestoreFormControlState() const; virtual FormControlState saveFormControlState() const; // The specified FormControlState must have at least one string value. virtual void restoreFormControlState(const FormControlState&) { } - void notifyFormStateChanged(); protected: HTMLFormControlElementWithState(const QualifiedName& tagName, Document&, HTMLFormElement*); virtual bool shouldAutocomplete() const; - virtual void finishParsingChildren() override; - virtual InsertionNotificationRequest insertedInto(ContainerNode&) override; - virtual void removedFrom(ContainerNode&) override; - virtual bool isFormControlElementWithState() const override; + void finishParsingChildren() override; + InsertionNotificationRequest insertedInto(ContainerNode&) override; + void removedFrom(ContainerNode&) override; + bool isFormControlElementWithState() const override; }; -} // namespace - -#endif +} // namespace WebCore |