diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/page/ValidationMessageClient.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
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 |