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