| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_NTP_NTP_STATS_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_NTP_NTP_STATS_H_ |
| 7 #pragma once |
| 8 |
| 9 // Those values are defined in histograms.xml. These represent the action that |
| 10 // the user has taken to leave the NTP. This is shared between the Suggested |
| 11 // pane and the Most Visited pane. This is also defined in suggestions_page.js |
| 12 // and in most_visited_page.js. |
| 13 enum NtpFollowAction { |
| 14 // Values 0 to 10 are the core values from PageTransition (see |
| 15 // page_transition_types.h). |
| 16 |
| 17 // The user has clicked on a tile. |
| 18 NTP_FOLLOW_ACTION_CLICKED_TILE = 11, |
| 19 // The user has moved to another pane within the NTP. |
| 20 NTP_FOLLOW_ACTION_CLICKED_OTHER_NTP_PANE, |
| 21 // Any action other than what is listed here (e.g. closing the tab, etc.). |
| 22 NTP_FOLLOW_ACTION_OTHER, |
| 23 // The number of suggested sites actions that we log. |
| 24 NUM_NTP_FOLLOW_ACTIONS |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_STATS_H_ |
| OLD | NEW |