| Index: Source/core/html/HTMLFormControlElement.h
|
| diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h
|
| index 8b333a24e80bcd0729c36f38350758542301c25e..afa5745dce47b4d0498acb1c23dd7686ab7a929f 100644
|
| --- a/Source/core/html/HTMLFormControlElement.h
|
| +++ b/Source/core/html/HTMLFormControlElement.h
|
| @@ -85,10 +85,12 @@ public:
|
| virtual bool isActivatedSubmit() const { return false; }
|
| virtual void setActivatedSubmit(bool) { }
|
|
|
| + enum CheckValidityDispatchEvents { CheckValidityDispatchEventsAllowed, CheckValidityDispatchEventsNone };
|
| +
|
| virtual bool willValidate() const;
|
| void updateVisibleValidationMessage();
|
| void hideVisibleValidationMessage();
|
| - bool checkValidity(Vector<RefPtr<FormAssociatedElement> >* unhandledInvalidControls = 0);
|
| + bool checkValidity(Vector<RefPtr<FormAssociatedElement> >* unhandledInvalidControls = 0, CheckValidityDispatchEvents = CheckValidityDispatchEventsAllowed);
|
| // This must be called when a validation constraint or control value is changed.
|
| void setNeedsValidityCheck();
|
| virtual void setCustomValidity(const String&) OVERRIDE;
|
|
|