| Index: chrome/browser/resources/ntp4/new_tab.js
|
| ===================================================================
|
| --- chrome/browser/resources/ntp4/new_tab.js (revision 134120)
|
| +++ chrome/browser/resources/ntp4/new_tab.js (working copy)
|
| @@ -68,6 +68,16 @@
|
| var DEFAULT_TRANSITION_TIME = 500;
|
|
|
| /**
|
| + * See description for these values in ntp_stats.h.
|
| + * @enum {number}
|
| + */
|
| + var NtpFollowAction = {
|
| + CLICKED_TILE: 11,
|
| + CLICKED_OTHER_NTP_PANE: 12,
|
| + OTHER: 13
|
| + };
|
| +
|
| + /**
|
| * Creates a NewTabView object. NewTabView extends PageListView with
|
| * new tab UI specific logics.
|
| * @constructor
|
| @@ -231,6 +241,7 @@
|
| chrome.send('notificationPromoViewed');
|
| }
|
|
|
| + cr.dispatchSimpleEvent(document, 'ntpLoaded', true, true);
|
| document.documentElement.classList.remove('starting-up');
|
| });
|
| }
|
| @@ -608,6 +619,7 @@
|
| getCardSlider: getCardSlider,
|
| onLoad: onLoad,
|
| leaveRearrangeMode: leaveRearrangeMode,
|
| + NtpFollowAction: NtpFollowAction,
|
| saveAppPageName: saveAppPageName,
|
| setAppToBeHighlighted: setAppToBeHighlighted,
|
| setBookmarkBarAttached: setBookmarkBarAttached,
|
|
|