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

Unified Diff: ios/chrome/browser/reading_list/reading_list_web_state_observer.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
Index: ios/chrome/browser/reading_list/reading_list_web_state_observer.h
diff --git a/ios/chrome/browser/reading_list/reading_list_web_state_observer.h b/ios/chrome/browser/reading_list/reading_list_web_state_observer.h
index 349bdc0a64d4ee7c9e0e8f9016e6be825894f450..170b27b4e958eaf5f5fb6ab1daa4dae4c51376ad 100644
--- a/ios/chrome/browser/reading_list/reading_list_web_state_observer.h
+++ b/ios/chrome/browser/reading_list/reading_list_web_state_observer.h
@@ -33,6 +33,10 @@ class ReadingListWebStateObserver : public web::WebStateObserver,
void ReadingListModelLoaded(const ReadingListModel* model) override;
void ReadingListModelBeingDeleted(const ReadingListModel* model) override;
+ // Notify the observer that current navigation triggered an external app and
+ // that the entry should be considered as read.
+ void CurrentNavigationWillContinueInExternalApp();
+
private:
ReadingListWebStateObserver(web::WebState* web_state,
ReadingListModel* reading_list_model);

Powered by Google App Engine
This is Rietveld 408576698