Commit 24afbb4e authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Commit Bot

Add metric for clicks on gesture education notification

Bug: 1056451
Change-Id: I667692eb3dd172921fec09cf93f66e33cd0a7024
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2099475Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Reviewed-by: default avatarSteven Holte <holte@chromium.org>
Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750896}
parent 0d9c2e89
...@@ -277,6 +277,7 @@ void SystemTrayClient::ShowAccessibilitySettings() { ...@@ -277,6 +277,7 @@ void SystemTrayClient::ShowAccessibilitySettings() {
void SystemTrayClient::ShowGestureEducationHelp() { void SystemTrayClient::ShowGestureEducationHelp() {
chrome::ScopedTabbedBrowserDisplayer displayer( chrome::ScopedTabbedBrowserDisplayer displayer(
ProfileManager::GetActiveUserProfile()); ProfileManager::GetActiveUserProfile());
base::RecordAction(base::UserMetricsAction("ShowGestureEducationHelp"));
ShowSingletonTab(displayer.browser(), ShowSingletonTab(displayer.browser(),
GURL(chrome::kChromeOSGestureEducationHelpURL)); GURL(chrome::kChromeOSGestureEducationHelpURL));
} }
......
...@@ -19521,6 +19521,15 @@ should be able to be added at any place in this file. ...@@ -19521,6 +19521,15 @@ should be able to be added at any place in this file.
</description> </description>
</action> </action>
<action name="ShowGestureEducationHelp">
<owner>amehfooz@chromium.org</owner>
<owner>tengs@chromium.org</owner>
<description>
The user opened the gesture education help from the notification shown to
highlight new gestures in tablet mode.
</description>
</action>
<action name="ShowHelpTab"> <action name="ShowHelpTab">
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> <owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<description>Please enter the description of this user action.</description> <description>Please enter the description of this user action.</description>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment