Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: chrome/browser/resources/ntp4/apps_page.js

Issue 9303005: [NTP4] Experiment for adding Chrome Web Store link to footer. (Closed)
Patch Set: rebase Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/resources/ntp4/new_tab.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 cr.define('ntp4', function() { 5 cr.define('ntp4', function() {
6 'use strict'; 6 'use strict';
7 7
8 var localStrings = new LocalStrings; 8 var localStrings = new LocalStrings;
9 9
10 var APP_LAUNCH = { 10 var APP_LAUNCH = {
11 // The histogram buckets (keep in sync with extension_constants.h). 11 // The histogram buckets (keep in sync with extension_constants.h).
12 NTP_APPS_MAXIMIZED: 0, 12 NTP_APPS_MAXIMIZED: 0,
13 NTP_APPS_COLLAPSED: 1, 13 NTP_APPS_COLLAPSED: 1,
14 NTP_APPS_MENU: 2, 14 NTP_APPS_MENU: 2,
15 NTP_MOST_VISITED: 3, 15 NTP_MOST_VISITED: 3,
16 NTP_RECENTLY_CLOSED: 4, 16 NTP_RECENTLY_CLOSED: 4,
17 NTP_APP_RE_ENABLE: 16 17 NTP_APP_RE_ENABLE: 16,
18 NTP_WEBSTORE_FOOTER: 18,
18 }; 19 };
19 20
20 // Histogram buckets for UMA tracking of where a DnD drop came from. 21 // Histogram buckets for UMA tracking of where a DnD drop came from.
21 var DRAG_SOURCE = { 22 var DRAG_SOURCE = {
22 SAME_APPS_PANE: 0, 23 SAME_APPS_PANE: 0,
23 OTHER_APPS_PANE: 1, 24 OTHER_APPS_PANE: 1,
24 MOST_VISITED_PANE: 2, 25 MOST_VISITED_PANE: 2,
25 BOOKMARKS_PANE: 3, 26 BOOKMARKS_PANE: 3,
26 OUTSIDE_NTP: 4 27 OUTSIDE_NTP: 4
27 }; 28 };
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 appNotificationChanged: appNotificationChanged, 895 appNotificationChanged: appNotificationChanged,
895 AppsPage: AppsPage, 896 AppsPage: AppsPage,
896 launchAppAfterEnable: launchAppAfterEnable, 897 launchAppAfterEnable: launchAppAfterEnable,
897 }; 898 };
898 }); 899 });
899 900
900 // TODO(estade): update the content handlers to use ntp namespace instead of 901 // TODO(estade): update the content handlers to use ntp namespace instead of
901 // making these global. 902 // making these global.
902 var appNotificationChanged = ntp4.appNotificationChanged; 903 var appNotificationChanged = ntp4.appNotificationChanged;
903 var launchAppAfterEnable = ntp4.launchAppAfterEnable; 904 var launchAppAfterEnable = ntp4.launchAppAfterEnable;
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/resources/ntp4/new_tab.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698