| 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_SEARCH_NTP_LOGGING_EVENTS_H_ |
| 6 #define CHROME_COMMON_NTP_LOGGING_EVENTS_H_ | 6 #define CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_ |
| 7 | 7 |
| 8 // The different types of events that are logged from the NTP. This enum is used | 8 // The different types of events that are logged from the NTP. This enum is used |
| 9 // to transfer information from the NTP javascript to the renderer and is not | 9 // to transfer information from the NTP javascript to the renderer and is not |
| 10 // used as a UMA enum histogram's logged value. | 10 // used as a UMA enum histogram's logged value. |
| 11 // Note: Keep in sync with browser/resources/local_ntp/most_visited_util.js | 11 // Note: Keep in sync with browser/resources/local_ntp/most_visited_util.js |
| 12 enum NTPLoggingEventType { | 12 enum NTPLoggingEventType { |
| 13 // The suggestion is coming from the server. | 13 // The suggestion is coming from the server. |
| 14 NTP_SERVER_SIDE_SUGGESTION = 0, | 14 NTP_SERVER_SIDE_SUGGESTION = 0, |
| 15 | 15 |
| 16 // The suggestion is coming from the client. | 16 // The suggestion is coming from the client. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 42 | 42 |
| 43 // The user moused over an NTP tile or title. | 43 // The user moused over an NTP tile or title. |
| 44 NTP_MOUSEOVER = 9, | 44 NTP_MOUSEOVER = 9, |
| 45 | 45 |
| 46 // A NTP Tile has finished loading (successfully or failing). | 46 // A NTP Tile has finished loading (successfully or failing). |
| 47 NTP_TILE_LOADED = 10, | 47 NTP_TILE_LOADED = 10, |
| 48 | 48 |
| 49 NTP_EVENT_TYPE_LAST = NTP_TILE_LOADED | 49 NTP_EVENT_TYPE_LAST = NTP_TILE_LOADED |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 #endif // CHROME_COMMON_NTP_LOGGING_EVENTS_H_ | 52 #endif // CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_ |
| OLD | NEW |