Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 2949593003: Move navigation-induced hiding of form-validation-bubble to the browser process. (Closed)
Patch Set: Remove now unnecessary call from WebContentsImpl::RenderViewTerminated to delegate_->HideValidation… Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 4a083020409fba2b7999b1c52cfb1bf00e5c6589..38312cd3c29afc2b7f6c141751959ee6839aef00 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -253,16 +253,9 @@ void Page::SetMainFrame(Frame* main_frame) {
main_frame_ = main_frame;
}
-void Page::WillUnloadDocument(const Document& document) {
- if (validation_message_client_)
- validation_message_client_->WillUnloadDocument(document);
-}
-
void Page::DocumentDetached(Document* document) {
pointer_lock_controller_->DocumentDetached(document);
context_menu_controller_->DocumentDetached(document);
- if (validation_message_client_)
- validation_message_client_->DocumentDetached(*document);
hosts_using_features_.DocumentDetached(*document);
}
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/page/ValidationMessageClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698