| 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_SEARCH_NTP_LOGGING_EVENTS_H_ | 5 #ifndef CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_ |
| 6 #define CHROME_COMMON_SEARCH_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. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // Deleted: NTP_MOUSEOVER = 9 | 22 // Deleted: NTP_MOUSEOVER = 9 |
| 23 // Deleted: NTP_TILE_LOADED = 10, | 23 // Deleted: NTP_TILE_LOADED = 10, |
| 24 | 24 |
| 25 // All NTP tiles have finished loading (successfully or failing). Logged only | 25 // All NTP tiles have finished loading (successfully or failing). Logged only |
| 26 // by the single-iframe version of the NTP. | 26 // by the single-iframe version of the NTP. |
| 27 NTP_ALL_TILES_LOADED = 11, | 27 NTP_ALL_TILES_LOADED = 11, |
| 28 | 28 |
| 29 // The data for all NTP tiles (title, URL, etc, but not the thumbnail image) | 29 // The data for all NTP tiles (title, URL, etc, but not the thumbnail image) |
| 30 // has been received by the most visited iframe. In contrast to | 30 // has been received by the most visited iframe. In contrast to |
| 31 // NTP_ALL_TILES_LOADED, this is recorded before the actual DOM elements have | 31 // NTP_ALL_TILES_LOADED, this is recorded before the actual DOM elements have |
| 32 // loaded (in particular the thumbnail images). Logged only by the | 32 // loaded (in particular the thumbnail images). Logged by the single-iframe |
| 33 // single-iframe version of the NTP. | 33 // version of the NTP, and also by the multi-iframe version, but only as a |
| 34 // workaround for crbug.com/698675. |
| 34 NTP_ALL_TILES_RECEIVED = 12, | 35 NTP_ALL_TILES_RECEIVED = 12, |
| 35 | 36 |
| 36 NTP_EVENT_TYPE_LAST = NTP_ALL_TILES_RECEIVED | 37 NTP_EVENT_TYPE_LAST = NTP_ALL_TILES_RECEIVED |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 #endif // CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_ | 40 #endif // CHROME_COMMON_SEARCH_NTP_LOGGING_EVENTS_H_ |
| OLD | NEW |