Index: Source/core/html/HTMLFormControlElement.h |
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h |
index 525ef0d254e12c52b10a70dae5ebce82553879fd..b2edf3935517fae239f7308e6d3fb645de354bd3 100644 |
--- a/Source/core/html/HTMLFormControlElement.h |
+++ b/Source/core/html/HTMLFormControlElement.h |
@@ -85,6 +85,8 @@ public: |
virtual void setActivatedSubmit(bool) { } |
virtual bool willValidate() const OVERRIDE; |
+ virtual bool isValidElement() OVERRIDE FINAL; |
+ |
void updateVisibleValidationMessage(); |
void hideVisibleValidationMessage(); |
bool checkValidity(WillBeHeapVector<RefPtrWillBeMember<FormAssociatedElement> >* unhandledInvalidControls = 0); |
@@ -152,12 +154,14 @@ private: |
virtual short tabIndex() const OVERRIDE FINAL; |
virtual bool isDefaultButtonForForm() const OVERRIDE FINAL; |
- virtual bool isValidFormControlElement() OVERRIDE FINAL; |
void updateAncestorDisabledState() const; |
bool isValidationMessageVisible() const; |
ValidationMessageClient* validationMessageClient() const; |
+ // Requests style reculc for the form owner, if one exists. |
+ void setFormOwnerNeedsStyleRecalc(); |
+ |
bool m_disabled : 1; |
bool m_isAutofilled : 1; |
bool m_isReadOnly : 1; |