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

Unified Diff: ios/web/public/web_state/web_state_observer.h

Issue 2645783002: Replaced webControllerWebProcessDidCrash: with RenderProcessGone. (Closed)
Patch Set: Created 3 years, 11 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: ios/web/public/web_state/web_state_observer.h
diff --git a/ios/web/public/web_state/web_state_observer.h b/ios/web/public/web_state/web_state_observer.h
index ca05867ab139aeb7f97f93913e38dbf65d42c69e..53698a5b0a653d377c014e3aa0227da5f40a972d 100644
--- a/ios/web/public/web_state/web_state_observer.h
+++ b/ios/web/public/web_state/web_state_observer.h
@@ -82,6 +82,10 @@ class WebStateObserver {
// Invoked when new favicon URL candidates are received.
virtual void FaviconUrlUpdated(const std::vector<FaviconURL>& candidates) {}
+ // Called when the web process is terminated (usually by crashing, though
+ // possibly by other means).
+ virtual void RenderProcessGone() {}
+
// Notifies the observer that the credential manager API was invoked from
// |source_url| to request a credential from the browser. If |unmediated|
// is true, the browser MUST NOT show any UI to the user. If this means that
« no previous file with comments | « ios/web/public/web_state/ui/crw_web_delegate.h ('k') | ios/web/public/web_state/web_state_observer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698