OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_COMMON_NTP_LOGGING_EVENTS_H_ | 5 #ifndef CHROME_COMMON_NTP_LOGGING_EVENTS_H_ |
6 #define CHROME_COMMON_NTP_LOGGING_EVENTS_H_ | 6 #define CHROME_COMMON_NTP_LOGGING_EVENTS_H_ |
7 | 7 |
8 // The different types of events that are logged from the NTP. | 8 // The different types of events that are logged from the NTP. |
9 enum NTPLoggingEventType { | 9 enum NTPLoggingEventType { |
10 // The user moused over an NTP tile or title. | 10 // The user moused over an NTP tile or title. |
11 NTP_MOUSEOVER = 0, | 11 NTP_MOUSEOVER = 0, |
12 | 12 |
13 // The page attempted to load a thumbnail image. | 13 // The page attempted to load a thumbnail image. |
14 NTP_THUMBNAIL_ATTEMPT = 1, | 14 NTP_THUMBNAIL_ATTEMPT = 1, |
15 | 15 |
16 // There was an error in loading both the thumbnail image and the fallback | 16 // There was an error in loading both the thumbnail image and the fallback |
17 // (if it was provided), resulting in a grey tile. | 17 // (if it was provided), resulting in a grey tile. |
18 NTP_THUMBNAIL_ERROR = 2, | 18 NTP_THUMBNAIL_ERROR = 2, |
19 | 19 |
20 // The page attempted to load a thumbnail URL while a fallback thumbnail was | 20 // The page attempted to load a thumbnail URL while a fallback thumbnail was |
21 // provided. | 21 // provided. |
22 NTP_FALLBACK_THUMBNAIL_REQUESTED = 3, | 22 NTP_FALLBACK_THUMBNAIL_REQUESTED = 3, |
23 | 23 |
24 // The primary thumbnail image failed to load and caused us to use the | 24 // The primary thumbnail image failed to load and caused us to use the |
25 // secondary thumbnail as a fallback. | 25 // secondary thumbnail as a fallback. |
26 NTP_FALLBACK_THUMBNAIL_USED = 4, | 26 NTP_FALLBACK_THUMBNAIL_USED = 4, |
27 | 27 |
28 // We got a suggestion coming from the server. | |
Mathieu
2013/11/22 19:58:19
nit: no we
beaudoin
2013/11/22 20:09:35
Done.
| |
29 NTP_SERVER_SIDE_SUGGESTION = 5, | |
30 | |
28 NTP_NUM_EVENT_TYPES | 31 NTP_NUM_EVENT_TYPES |
29 }; | 32 }; |
30 | 33 |
31 #endif // CHROME_COMMON_NTP_LOGGING_EVENTS_H_ | 34 #endif // CHROME_COMMON_NTP_LOGGING_EVENTS_H_ |
OLD | NEW |