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

Side by Side Diff: ui/base/ui_metrics_types.h

Issue 2869223002: Metrics logging for user engagement of the Reload and Feedback buttons (Closed)
Patch Set: Migrating Desktop to use shared symbols, explicitly setting enum values" Created 3 years, 6 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:
View unified diff | Download patch
« no previous file with comments | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 {
9 // An enum for reporting interaction events to a UMA histogram.
10 enum class SadTabEvent {
11 // Records that the Sad Tab was displayed.
12 SAD_TAB_EVENT_DISPLAYED = 0,
Sidney San Martín 2017/05/24 14:28:26 Is it necessary to prefix these with SAD_TAB_EVENT
13 // Records that the main Sad Tab button was triggered.
14 SAD_TAB_EVENT_BUTTON_CLICKED = 1,
15 // Records that the Sad Tab help link was triggered.
16 SAD_TAB_EVENT_HELP_LINK_CLICKED = 2,
17 // Enum end marker.
18 SAD_TAB_EVENT_MAX = 3,
19 };
20
21 // Describes the mode of the Sad Tab as being in 'reload' mode.
22 const char kSadTabReloadHistogramKey[] = "Tabs.SadTab.Reload.Event";
23 // Describes the mode of the Sad Tab as being in 'feedback' mode.
24 const char kSadTabFeedbackHistogramKey[] = "Tabs.SadTab.Feedback.Event";
25 }
26
27 #endif // UI_BASE_UI_METRICS_TYPES_H_
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698