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

Side by Side Diff: chrome/browser/resources/aura/app_list/app_list.js

Issue 8555015: [Aura] Apply NTP fix to app list webui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 /** 5 /**
6 * @fileoverview App list UI. 6 * @fileoverview App list UI.
7 * For now, most of its logic is borrowed from ntp4. 7 * For now, most of its logic is borrowed from ntp4.
8 */ 8 */
9 9
10 // Use an anonymous function to enable strict mode just for this file (which 10 // Use an anonymous function to enable strict mode just for this file (which
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 function enterRearrangeMode() { 43 function enterRearrangeMode() {
44 appsView.enterRearrangeMode(); 44 appsView.enterRearrangeMode();
45 } 45 }
46 46
47 function getAppsCallback(data) { 47 function getAppsCallback(data) {
48 appsView.getAppsCallback(data); 48 appsView.getAppsCallback(data);
49 } 49 }
50 50
51 function getAppsPageIndex(page) { 51 function getAppsPageIndex(page) {
52 appsView.getAppsPageIndex(page); 52 return appsView.getAppsPageIndex(page);
53 } 53 }
54 54
55 function getCardSlider() { 55 function getCardSlider() {
56 return appsView.cardSlider; 56 return appsView.cardSlider;
57 } 57 }
58 58
59 function leaveRearrangeMode(e) { 59 function leaveRearrangeMode(e) {
60 appsView.leaveRearrangeMode(e); 60 appsView.leaveRearrangeMode(e);
61 } 61 }
62 62
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 ntp4.appAdded = appList.appAdded; 94 ntp4.appAdded = appList.appAdded;
95 ntp4.appRemoved = appList.appRemoved; 95 ntp4.appRemoved = appList.appRemoved;
96 ntp4.enterRearrangeMode = appList.enterRearrangeMode; 96 ntp4.enterRearrangeMode = appList.enterRearrangeMode;
97 ntp4.getAppsPageIndex = appList.getAppsPageIndex; 97 ntp4.getAppsPageIndex = appList.getAppsPageIndex;
98 ntp4.getCardSlider = appList.getCardSlider; 98 ntp4.getCardSlider = appList.getCardSlider;
99 ntp4.leaveRearrangeMode = appList.leaveRearrangeMode; 99 ntp4.leaveRearrangeMode = appList.leaveRearrangeMode;
100 ntp4.saveAppPageName = appList.saveAppPageName; 100 ntp4.saveAppPageName = appList.saveAppPageName;
101 ntp4.setAppToBeHighlighted = appList.setAppToBeHighlighted; 101 ntp4.setAppToBeHighlighted = appList.setAppToBeHighlighted;
102 102
103 document.addEventListener('DOMContentLoaded', appList.load); 103 document.addEventListener('DOMContentLoaded', appList.load);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698