diff options
author | yusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 00:58:48 +0000 |
---|---|---|
committer | yusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 00:58:48 +0000 |
commit | 6cae3d0bd75bbcf4e15ae47529afc197a7aed837 (patch) | |
tree | c16543eb750d8395744cf833e6a61847509ba9fc /ash/shell | |
parent | 4ceddd5525785f4e6b0a152272c8a49f67619459 (diff) | |
download | chromium_src-6cae3d0bd75bbcf4e15ae47529afc197a7aed837.zip chromium_src-6cae3d0bd75bbcf4e15ae47529afc197a7aed837.tar.gz chromium_src-6cae3d0bd75bbcf4e15ae47529afc197a7aed837.tar.bz2 |
Record user action metrics when the user presses F5, Shift+F5, Alt+Tab, Shift+Alt+Tab, Ctrl+t, or Search.
Along with the fix, remove deprecated code in external_metrics.cc and extract_actions.py.
BUG=137771
TEST=manual
TEST=ran './chrome/tools/extract_actions.py | grep Accel_' and confirmed that the actions added to chrome__shell_delegate.cc are correctly recognized by the python script.
Review URL: https://chromiumcodereview.appspot.com/10799006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell')
-rw-r--r-- | ash/shell/shell_delegate_impl.cc | 3 | ||||
-rw-r--r-- | ash/shell/shell_delegate_impl.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc index f32d55a..933680b 100644 --- a/ash/shell/shell_delegate_impl.cc +++ b/ash/shell/shell_delegate_impl.cc @@ -136,5 +136,8 @@ aura::client::UserActionClient* ShellDelegateImpl::CreateUserActionClient() { void ShellDelegateImpl::OpenFeedbackPage() { } +void ShellDelegateImpl::RecordUserMetricsAction(UserMetricsAction action) { +} + } // namespace shell } // namespace ash diff --git a/ash/shell/shell_delegate_impl.h b/ash/shell/shell_delegate_impl.h index 0dd1aa4..23c59ae 100644 --- a/ash/shell/shell_delegate_impl.h +++ b/ash/shell/shell_delegate_impl.h @@ -50,6 +50,7 @@ class ShellDelegateImpl : public ash::ShellDelegate { virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; virtual void OpenFeedbackPage() OVERRIDE; + virtual void RecordUserMetricsAction(UserMetricsAction action) OVERRIDE; private: // Used to update Launcher. Owned by main. |