commit | 866dea69d97c5fb74b129c3c8e3bd2c317ee0dd1 | [log] [tgz] |
---|---|---|
author | Mei Liang <meiliang@chromium.org> | Wed Jun 19 23:43:09 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 19 23:43:09 2019 |
tree | 4c5ec66bac081168fcd356f897655097e4fcbd7d | |
parent | 21496db4e4996ebd3baa5d72928ed7940e6378c1 [diff] |
Record switch tab related event metric This CL records switch tab related event metric for different UI components, include switching in GTS, TabGridDialog, and TabStrip. These metric include the following: * MobileTabReturnedToCurrentTab, this is an user action, and it's only recorded for GTS if user returns to same tab as before entering the tab switcher. * MobileTabSwitched.componentName, this is an user action, and it's recorded for every component. If the previous selected tab is in the same group as the currently selected one, we record that as either switching from tab strip or tab grid dialog depends on the active Ui. Otherwise, the switch is logged toward switching from GTS. * Tabs.TabOffsetOfSwitch, this is an histogram, and it's recorded for every component. The recording condition is the same as MobileTabSwitched action. In addtion, this CL records a "MobileExitsStackView" action when tab switch is hidden. Change-Id: I9e28d15e3755fa263742b4de383154b37e5fe5d9 Bug: 959881 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660601 Commit-Queue: Mei Liang <meiliang@chromium.org> Reviewed-by: Ilya Sherman <isherman@chromium.org> Reviewed-by: Yusuf Ozuysal <yusufo@chromium.org> Cr-Commit-Position: refs/heads/master@{#670721}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .