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

Unified Diff: ios/web/public/web_state/ui/crw_native_content.h

Issue 2578973002: Reload offline version on load failure (Closed)
Patch Set: feedback Created 4 years 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/ui/crw_native_content.h
diff --git a/ios/web/public/web_state/ui/crw_native_content.h b/ios/web/public/web_state/ui/crw_native_content.h
index 994ba6d2fd8c7b8228d1f73b61e69780db38376e..cc880295600a009d86c64204669c5ef008de8276 100644
--- a/ios/web/public/web_state/ui/crw_native_content.h
+++ b/ios/web/public/web_state/ui/crw_native_content.h
@@ -85,6 +85,9 @@
// Called when a snapshot of the content will be taken.
- (void)willUpdateSnapshot;
+// Called when a navigation is triggered from this nativeContent.
+- (void)willBeDismissed;
+
// The URL that will be displayed to the user when presenting this native
// content.
- (GURL)virtualURL;

Powered by Google App Engine
This is Rietveld 408576698