Index: third_party/WebKit/Source/core/page/ValidationMessageClient.h |
diff --git a/third_party/WebKit/Source/core/page/ValidationMessageClient.h b/third_party/WebKit/Source/core/page/ValidationMessageClient.h |
index 667f9271770a68b79ae296f20b2a216f5dd48fee..396f4b56b401244bfedb91a72d4f6fc3f46edd21 100644 |
--- a/third_party/WebKit/Source/core/page/ValidationMessageClient.h |
+++ b/third_party/WebKit/Source/core/page/ValidationMessageClient.h |
@@ -32,6 +32,7 @@ |
namespace blink { |
+class Document; |
class Element; |
class ValidationMessageClient : public GarbageCollectedMixin { |
@@ -55,6 +56,9 @@ |
// is visible. |
virtual bool IsValidationMessageVisible(const Element& anchor) = 0; |
+ virtual void WillUnloadDocument(const Document&) = 0; |
+ virtual void DocumentDetached(const Document&) = 0; |
+ |
virtual void WillBeDestroyed() = 0; |
DEFINE_INLINE_VIRTUAL_TRACE() {} |