Index: Source/core/html/HTMLFormControlElement.h |
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h |
index c87dfa7ed04ef5ec5f4efafaa98fd0a714f8a3aa..33f94439400cef0307050237ae35b88e057cfdb1 100644 |
--- a/Source/core/html/HTMLFormControlElement.h |
+++ b/Source/core/html/HTMLFormControlElement.h |
@@ -90,7 +90,10 @@ public: |
void updateVisibleValidationMessage(); |
void hideVisibleValidationMessage(); |
- bool checkValidity(WillBeHeapVector<RefPtrWillBeMember<FormAssociatedElement> >* unhandledInvalidControls = 0, CheckValidityEventBehavior = CheckValidityDispatchInvalidEvent); |
+ bool checkValidity(WillBeHeapVector<RefPtrWillBeMember<HTMLFormControlElement> >* unhandledInvalidControls = 0, CheckValidityEventBehavior = CheckValidityDispatchInvalidEvent); |
+ bool reportValidity(); |
+ // This must be called only after the caller check the element is focusable. |
+ void showValidationMessage(); |
// This must be called when a validation constraint or control value is changed. |
void setNeedsValidityCheck(); |
virtual void setCustomValidity(const String&) override final; |