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

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

Issue 1130753007: Start axing NTP4 dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: estade@ review Created 5 years, 7 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/jumplist_win.cc ('k') | chrome/browser/resources/ntp4/compiled_resources.gyp » ('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('ntp', function() { 5 cr.define('ntp', function() {
6 'use strict'; 6 'use strict';
7 7
8 var APP_LAUNCH = { 8 var APP_LAUNCH = {
9 // The histogram buckets (keep in sync with extension_constants.h). 9 // The histogram buckets (keep in sync with extension_constants.h).
10 NTP_APPS_MAXIMIZED: 0, 10 NTP_APPS_MAXIMIZED: 0,
11 NTP_APPS_COLLAPSED: 1, 11 NTP_APPS_COLLAPSED: 1,
12 NTP_APPS_MENU: 2, 12 NTP_APPS_MENU: 2,
13 NTP_MOST_VISITED: 3, 13 NTP_MOST_VISITED: 3,
14 NTP_RECENTLY_CLOSED: 4,
15 NTP_APP_RE_ENABLE: 16, 14 NTP_APP_RE_ENABLE: 16,
16 NTP_WEBSTORE_FOOTER: 18, 15 NTP_WEBSTORE_FOOTER: 18,
17 NTP_WEBSTORE_PLUS_ICON: 19, 16 NTP_WEBSTORE_PLUS_ICON: 19,
18 }; 17 };
19 18
20 // Histogram buckets for UMA tracking of where a DnD drop came from. 19 // Histogram buckets for UMA tracking of where a DnD drop came from.
21 var DRAG_SOURCE = { 20 var DRAG_SOURCE = {
22 SAME_APPS_PANE: 0, 21 SAME_APPS_PANE: 0,
23 OTHER_APPS_PANE: 1, 22 OTHER_APPS_PANE: 1,
24 MOST_VISITED_PANE: 2, 23 MOST_VISITED_PANE: 2,
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 function launchAppAfterEnable(appId) { 778 function launchAppAfterEnable(appId) {
780 chrome.send('launchApp', [appId, APP_LAUNCH.NTP_APP_RE_ENABLE]); 779 chrome.send('launchApp', [appId, APP_LAUNCH.NTP_APP_RE_ENABLE]);
781 } 780 }
782 781
783 return { 782 return {
784 APP_LAUNCH: APP_LAUNCH, 783 APP_LAUNCH: APP_LAUNCH,
785 AppsPage: AppsPage, 784 AppsPage: AppsPage,
786 launchAppAfterEnable: launchAppAfterEnable, 785 launchAppAfterEnable: launchAppAfterEnable,
787 }; 786 };
788 }); 787 });
OLDNEW
« no previous file with comments | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/resources/ntp4/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698