diff options
Diffstat (limited to 'Source/WebCore/html/HTMLSelectElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLSelectElement.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebCore/html/HTMLSelectElement.h b/Source/WebCore/html/HTMLSelectElement.h index 52665e195..dc8954f97 100644 --- a/Source/WebCore/html/HTMLSelectElement.h +++ b/Source/WebCore/html/HTMLSelectElement.h @@ -46,7 +46,8 @@ public: void optionSelectedByUser(int index, bool dispatchChangeEvent, bool allowMultipleSelection = false); // For ValidityState - bool valueMissing() const; + virtual String validationMessage() const OVERRIDE; + virtual bool valueMissing() const OVERRIDE; unsigned length() const; @@ -123,7 +124,7 @@ private: virtual bool saveFormControlState(String& value) const; virtual void restoreFormControlState(const String&); - virtual void parseAttribute(Attribute*) OVERRIDE; + virtual void parseAttribute(const Attribute&) OVERRIDE; virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OVERRIDE; @@ -157,7 +158,7 @@ private: typedef unsigned SelectOptionFlags; void selectOption(int optionIndex, SelectOptionFlags = 0); void deselectItemsWithoutValidation(HTMLElement* elementToExclude = 0); - void parseMultipleAttribute(const Attribute*); + void parseMultipleAttribute(const Attribute&); int lastSelectedListIndex() const; void updateSelectedState(int listIndex, bool multi, bool shift); void menuListDefaultEventHandler(Event*); |