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

Unified Diff: chrome/browser/ui/views/tabs/tab.cc

Issue 1124153007: Added the Ash.Tab.TimeBetweenSwitchToExistingTabUserActions histogram to track time between tab swit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the branch that the diff was based on. Created 5 years, 7 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/tab.cc
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
index b03369a7918d754161ed9794680301fa4d346250..137c20917898a687fcbc2d9ffcadd6d62c10cb02 100644
--- a/chrome/browser/ui/views/tabs/tab.cc
+++ b/chrome/browser/ui/views/tabs/tab.cc
@@ -872,10 +872,12 @@ bool Tab::OnMousePressed(const ui::MouseEvent& event) {
} else if (!IsSelected()) {
controller_->SelectTab(this);
content::RecordAction(UserMetricsAction("SwitchTab_Click"));
+ // TODO(bruthig):
}
} else if (!IsSelected()) {
controller_->SelectTab(this);
content::RecordAction(UserMetricsAction("SwitchTab_Click"));
+ // TODO(bruthig):
}
ui::MouseEvent cloned_event(event_in_parent, parent(),
static_cast<View*>(this));

Powered by Google App Engine
This is Rietveld 408576698