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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_view_delegate.cc

Issue 10832247: chromeos: Add UMA stats for launcher and app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort UserMetricsAction Created 8 years, 4 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
« no previous file with comments | « ash/shell_delegate.h ('k') | chrome/browser/ui/ash/app_list/search_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_list/app_list_view_delegate.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_view_delegate.cc b/chrome/browser/ui/ash/app_list/app_list_view_delegate.cc
index 836c34f97bbfb9441294fcc1f6b92c52d8eb9e09..4798d5c7d99c3d25dd6afc8aa771bb4e90fb9d16 100644
--- a/chrome/browser/ui/ash/app_list/app_list_view_delegate.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_view_delegate.cc
@@ -9,6 +9,7 @@
#include "chrome/browser/ui/ash/app_list/apps_model_builder.h"
#include "chrome/browser/ui/ash/app_list/chrome_app_list_item.h"
#include "chrome/browser/ui/ash/app_list/search_builder.h"
+#include "content/public/browser/user_metrics.h"
AppListViewDelegate::AppListViewDelegate() {
}
@@ -34,6 +35,7 @@ void AppListViewDelegate::SetModel(app_list::AppListModel* model) {
void AppListViewDelegate::ActivateAppListItem(
app_list::AppListItemModel* item,
int event_flags) {
+ content::RecordAction(content::UserMetricsAction("AppList_ClickOnApp"));
static_cast<ChromeAppListItem*>(item)->Activate(event_flags);
}
« no previous file with comments | « ash/shell_delegate.h ('k') | chrome/browser/ui/ash/app_list/search_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698