summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/ValidationMessageClient.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/page/ValidationMessageClient.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/page/ValidationMessageClient.h')
-rw-r--r--Source/WebCore/page/ValidationMessageClient.h15
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