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

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

Issue 2589213002: Add CRWNativeContent willBeDismissed. (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
« no previous file with comments | « no previous file | ios/web/web_state/ui/crw_web_controller_container_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b3f336fe157247ba0cd608d717c5d4ab072f9d40 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;
+// Notifies the CRWNativeContent that it will be removed from superview.
+- (void)willBeDismissed;
+
// The URL that will be displayed to the user when presenting this native
// content.
- (GURL)virtualURL;
« no previous file with comments | « no previous file | ios/web/web_state/ui/crw_web_controller_container_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698