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