diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLFormControlElementWithState.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
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 |