diff options
Diffstat (limited to 'Source/WebCore/page/ValidationMessageClient.h')
-rw-r--r-- | Source/WebCore/page/ValidationMessageClient.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/WebCore/page/ValidationMessageClient.h b/Source/WebCore/page/ValidationMessageClient.h index 3beaca09f..630cde3fd 100644 --- a/Source/WebCore/page/ValidationMessageClient.h +++ b/Source/WebCore/page/ValidationMessageClient.h @@ -23,13 +23,13 @@ * SUCH DAMAGE. */ -#ifndef ValidationMessageClient_h -#define ValidationMessageClient_h +#pragma once #include <wtf/Forward.h> namespace WebCore { +class Document; class Element; class ValidationMessageClient { @@ -45,11 +45,16 @@ public: // anchor is already visible. virtual void hideValidationMessage(const Element& anchor) = 0; + // Hide any validation message currently displayed. + virtual void hideAnyValidationMessage() = 0; + // Returns true if the validation message for the specified anchor element // is visible. virtual bool isValidationMessageVisible(const Element& anchor) = 0; -}; -} + virtual void updateValidationBubbleStateIfNeeded() = 0; + + virtual void documentDetached(Document&) = 0; +}; -#endif +} // namespace WebCore |