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

Unified Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.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/views/tabs/browser_tab_strip_controller.h
diff --git a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.h b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.h
index 75f867a6240091f0c7fcc1862c8e3e70600471fc..63f6bff9f5240be5a07f2efab5834f8f74e6b138 100644
--- a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.h
+++ b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.h
@@ -78,7 +78,8 @@ class BrowserTabStripController : public TabStripController,
SkColor GetToolbarTopSeparatorColor() const override;
// TabStripModelObserver implementation:
- void TabInsertedAt(content::WebContents* contents,
+ void TabInsertedAt(TabStripModel* tab_strip_model,
+ content::WebContents* contents,
int model_index,
bool is_active) override;
void TabDetachedAt(content::WebContents* contents, int model_index) override;
@@ -94,7 +95,8 @@ class BrowserTabStripController : public TabStripController,
content::WebContents* old_contents,
content::WebContents* new_contents,
int model_index) override;
- void TabPinnedStateChanged(content::WebContents* contents,
+ void TabPinnedStateChanged(TabStripModel* tab_strip_model,
+ content::WebContents* contents,
int model_index) override;
void TabBlockedStateChanged(content::WebContents* contents,
int model_index) override;

Powered by Google App Engine
This is Rietveld 408576698