Index: Source/core/html/HTMLFormControlElement.h |
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h |
index f56ab7ee0d8a84523b2a5a02aeb2bc81b736e474..71a669bda4c38078e52eccf47b7597e7dabe1583 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; |