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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1727823002: [Herb] Add metrics to track button usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hard-coded histogram name Created 4 years, 10 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:
Download patch
« no previous file with comments | « tools/metrics/actions/actions.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index c9c910a5e467190bb77d9115328862404ff09a12..b5134b13524dbc8b5d05c60ac0acd61ce7a3cb6c 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -250,6 +250,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Android.Activity.ChromeTabbedActivity.StopReason"
+ enum="AndroidActivityStopReason">
+ <owner>dfalcantara@chromium.org</owner>
+ <summary>
+ What caused ChromeTabbedActivity#onStop() to be called, which indicates that
+ Chrome is sent to the background.
+ </summary>
+</histogram>
+
+<histogram name="Android.Activity.ChromeTabbedActivity.SystemBackAction"
+ enum="AndroidActivitySystemBackAction">
+ <owner>dfalcantara@chromium.org</owner>
+ <summary>
+ What happened when the user hit the system back button in
+ ChromeTabbedActivity.
+ </summary>
+</histogram>
+
<histogram name="Android.ArmFpu" enum="AndroidArmFpu">
<owner>fdegans@chromium.org</owner>
<summary>
@@ -57887,6 +57905,44 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="5" label="FullScreenActivity"/>
</enum>
+<enum name="AndroidActivityStopReason" type="int">
+ <int value="0" label="Unknown"/>
+ <int value="1" label="Chrome sent to background by system back">
+ The user pressed the system back button, sending Chrome to the background.
+ </int>
+ <int value="2" label="Return button closed app">
+ The user hit the return UI button to close the tab and return to the
+ previous app.
+ </int>
+ <int value="3" label="Immediately launched child CustomTabActivity">
+ The Activity immediately launched a CustomTabActivity on top of itself.
+ </int>
+ <int value="4" label="Child CustomTabActivity closed itself">
+ The child CustomTabActivity was closed by the user, so this Activity sent
+ itself to the background to return the user to the previous app.
+ </int>
+ <int value="5" label="Another Chrome Activity took focus">
+ Another of Chrome's Activities (e.g. Settings or Bookmarks) launched and
+ took focus.
+ </int>
+</enum>
+
+<enum name="AndroidActivitySystemBackAction" type="int">
+ <int value="0" label="Nothing happened"/>
+ <int value="1"
+ label="The foreground tab contained a help article and was closed"/>
+ <int value="2"
+ label="Chrome was minimized and the foreground tab was kept open"/>
+ <int value="3"
+ label="Chrome was minimized and the foreground tab was closed"/>
+ <int value="4"
+ label="The foreground tab was closed, but Chrome stayed visible"/>
+ <int value="5" label="Error: No tab is currently being displayed"/>
+ <int value="6" label="User exited the tab switcher"/>
+ <int value="7" label="User exited fullscreen mode"/>
+ <int value="8" label="User navigated backward in the tab's history"/>
+</enum>
+
<enum name="AndroidArmFpu" type="int">
<int value="0" label="No NEON support"/>
<int value="1" label="NEON support"/>
« no previous file with comments | « tools/metrics/actions/actions.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698