diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-15 05:45:31 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-15 05:45:31 +0000 |
commit | 3537d47b8e8f842d1c83a739e353ee9b97ee436f (patch) | |
tree | c7cfcace93e3c5e6b4db1f748e29d3188d28a375 /ash/metrics | |
parent | c267f8362843a0d5ba47952f2ccd59bc3363e7ea (diff) | |
download | chromium_src-3537d47b8e8f842d1c83a739e353ee9b97ee436f.zip chromium_src-3537d47b8e8f842d1c83a739e353ee9b97ee436f.tar.gz chromium_src-3537d47b8e8f842d1c83a739e353ee9b97ee436f.tar.bz2 |
Use a single ToplevelWindowEventHandler for the ash::Shell. This is part 1 in disabling the few cases in which dragging multiple windows is possible (which causes crashiness)
BUG=324038
TEST=None
R=oshima
TBR=sadrul (This is a reland of https://codereview.chromium.org/114643003)
Review URL: https://codereview.chromium.org/102253008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244835 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/metrics')
-rw-r--r-- | ash/metrics/user_metrics_recorder.cc | 8 | ||||
-rw-r--r-- | ash/metrics/user_metrics_recorder.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ash/metrics/user_metrics_recorder.cc b/ash/metrics/user_metrics_recorder.cc index 7e46801..fb67e4c 100644 --- a/ash/metrics/user_metrics_recorder.cc +++ b/ash/metrics/user_metrics_recorder.cc @@ -79,6 +79,14 @@ void UserMetricsRecorder::RecordUserMetricsAction(UserMetricsAction action) { case ash::UMA_MOUSE_DOWN: base::RecordAction(base::UserMetricsAction("Mouse_Down")); break; + case ash::UMA_PANEL_MINIMIZE_CAPTION_CLICK: + base::RecordAction( + base::UserMetricsAction("Panel_Minimize_Caption_Click")); + break; + case ash::UMA_PANEL_MINIMIZE_CAPTION_GESTURE: + base::RecordAction( + base::UserMetricsAction("Panel_Minimize_Caption_Gesture")); + break; case ash::UMA_SHELF_ALIGNMENT_SET_BOTTOM: base::RecordAction( base::UserMetricsAction("Shelf_AlignmentSetBottom")); diff --git a/ash/metrics/user_metrics_recorder.h b/ash/metrics/user_metrics_recorder.h index dc7043b..bf82ef5 100644 --- a/ash/metrics/user_metrics_recorder.h +++ b/ash/metrics/user_metrics_recorder.h @@ -25,6 +25,8 @@ enum UserMetricsAction { UMA_LAUNCHER_CLICK_ON_APP, UMA_LAUNCHER_CLICK_ON_APPLIST_BUTTON, UMA_MOUSE_DOWN, + UMA_PANEL_MINIMIZE_CAPTION_CLICK, + UMA_PANEL_MINIMIZE_CAPTION_GESTURE, UMA_SHELF_ALIGNMENT_SET_BOTTOM, UMA_SHELF_ALIGNMENT_SET_LEFT, UMA_SHELF_ALIGNMENT_SET_RIGHT, |