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

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

Issue 2784843002: Reading List: Mark entry read when opening external app. (Closed)
Patch Set: comments Created 3 years, 9 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
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/web/web_state/ui/crw_web_controller.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_web_delegate.h
diff --git a/ios/web/public/web_state/ui/crw_web_delegate.h b/ios/web/public/web_state/ui/crw_web_delegate.h
index eb6a81c8835b33b9e82b98d89290321781126210..c237738283be18549959ba92490ba727ddd1ab06 100644
--- a/ios/web/public/web_state/ui/crw_web_delegate.h
+++ b/ios/web/public/web_state/ui/crw_web_delegate.h
@@ -26,6 +26,10 @@ class GURL;
// TODO(crbug.com/674991): Remove this protocol.
@protocol CRWWebDelegate<NSObject>
+// Current navigation triggered an external app so the loading will be
+// cancelled.
+- (void)currentNavigationWillContinueInExternalApp;
Eugene But (OOO till 7-30) 2017/03/29 15:44:15 We should really avoid adding new methods to CRWWe
Olivier 2017/03/29 15:49:45 |openExternalURL:linkClicked:| is called after [se
+
// Called when an external app needs to be opened, it also passes |linkClicked|
// to track if this call was a result of user action or not. Returns YES iff
// |URL| is launched in an external app.
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698