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

Unified Diff: ios/shared/chrome/browser/tabs/web_state_list_observer.mm

Issue 2703333006: Move the notion of current Tab from TabModel to WebStateList. (Closed)
Patch Set: Rebase. Created 3 years, 10 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/shared/chrome/browser/tabs/web_state_list_observer.mm
diff --git a/ios/shared/chrome/browser/tabs/web_state_list_observer.mm b/ios/shared/chrome/browser/tabs/web_state_list_observer.mm
index a5c510c2c21920af200d89d12b453a0529ea6fec..08f25a8074dd6f94d500f1b2a43294cfbf18c2f0 100644
--- a/ios/shared/chrome/browser/tabs/web_state_list_observer.mm
+++ b/ios/shared/chrome/browser/tabs/web_state_list_observer.mm
@@ -25,3 +25,9 @@ void WebStateListObserver::WebStateReplacedAt(WebStateList* web_state_list,
void WebStateListObserver::WebStateDetachedAt(WebStateList* web_state_list,
web::WebState* web_state,
int index) {}
+
+void WebStateListObserver::WebStateActivatedAt(WebStateList* web_state_list,
+ web::WebState* old_web_state,
+ web::WebState* new_web_state,
+ int active_index,
+ bool user_action) {}

Powered by Google App Engine
This is Rietveld 408576698