OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_BASE_UI_METRICS_TYPES_H_ | |
6 #define UI_BASE_UI_METRICS_TYPES_H_ | |
7 | |
8 namespace ui { | |
sky
2017/05/26 23:07:31
Sorry for the bike shed.
The ui directory is inte
| |
9 // An enum for reporting interaction events to a UMA histogram. | |
10 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.tab | |
11 enum class SadTabEvent { | |
12 // Records that the Sad Tab was displayed. | |
13 DISPLAYED = 0, | |
14 // Records that the main Sad Tab button was triggered. | |
15 BUTTON_CLICKED = 1, | |
16 // Records that the Sad Tab help link was triggered. | |
17 HELP_LINK_CLICKED = 2, | |
18 // Enum end marker. | |
19 MAX_SAD_TAB_EVENT = 3, | |
20 }; | |
21 | |
22 // Describes the mode of the Sad Tab as being in 'reload' mode. | |
23 const char kSadTabReloadHistogramKey[] = "Tabs.SadTab.Reload.Event"; | |
24 // Describes the mode of the Sad Tab as being in 'feedback' mode. | |
25 const char kSadTabFeedbackHistogramKey[] = "Tabs.SadTab.Feedback.Event"; | |
26 } | |
27 | |
28 #endif // UI_BASE_UI_METRICS_TYPES_H_ | |
OLD | NEW |