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

Unified Diff: chrome/browser/ui/tabs/tab_strip_model_observer.h

Issue 2335203003: Add metrics to keep track of the tab activate/deactivate cycle (Closed)
Patch Set: Addressed comments Created 4 years, 3 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: chrome/browser/ui/tabs/tab_strip_model_observer.h
diff --git a/chrome/browser/ui/tabs/tab_strip_model_observer.h b/chrome/browser/ui/tabs/tab_strip_model_observer.h
index cc00b02c568efbe34a6b2525995e97a61a46f8fe..4c670943907c3567ed8e06547dbdbfde0a4bff07 100644
--- a/chrome/browser/ui/tabs/tab_strip_model_observer.h
+++ b/chrome/browser/ui/tabs/tab_strip_model_observer.h
@@ -57,7 +57,8 @@ class TabStripModelObserver {
// A new WebContents was inserted into the TabStripModel at the
// specified index. |foreground| is whether or not it was opened in the
// foreground (selected).
- virtual void TabInsertedAt(content::WebContents* contents,
+ virtual void TabInsertedAt(TabStripModel* tab_strip_model,
+ content::WebContents* contents,
int index,
bool foreground);
@@ -126,7 +127,9 @@ class TabStripModelObserver {
int index);
// Invoked when the pinned state of a tab changes.
- virtual void TabPinnedStateChanged(content::WebContents* contents, int index);
+ virtual void TabPinnedStateChanged(TabStripModel* tab_strip_model,
+ content::WebContents* contents,
+ int index);
// Invoked when the blocked state of a tab changes.
// NOTE: This is invoked when a tab becomes blocked/unblocked by a tab modal

Powered by Google App Engine
This is Rietveld 408576698