From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/page/ValidationMessageClient.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Source/WebCore/page/ValidationMessageClient.h') 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 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 -- cgit v1.2.1