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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/Drawer.js

Issue 1520403004: Devtools: Add metrics for drawer views being shown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/Source/devtools/front_end/components/Drawer.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/Drawer.js b/third_party/WebKit/Source/devtools/front_end/components/Drawer.js
index 7d6fad36ac1f144adc36d817c92b130ddba06413..6058785e5df301ee70eab08ceea442b81659df92 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/Drawer.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/Drawer.js
@@ -68,6 +68,7 @@ WebInspector.Drawer.prototype = {
showView: function(id, immediate)
{
this._innerShow(immediate);
+ WebInspector.userMetrics.drawerShown(id);
return this._extensibleTabbedPaneController.showTab(id);
},

Powered by Google App Engine
This is Rietveld 408576698