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

Side by Side Diff: chrome/browser/resources/ntp_search/thumbnail_page.js

Issue 11412214: NTP5: Fine tuning of Apps implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and rebase Created 8 years 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
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 Tile = ntp.Tile; 8 var Tile = ntp.Tile;
9 var TilePage = ntp.TilePage; 9 var TilePage = ntp.TilePage;
10 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 return el; 155 return el;
156 } 156 }
157 157
158 ThumbnailPage.prototype = { 158 ThumbnailPage.prototype = {
159 __proto__: TilePage.prototype, 159 __proto__: TilePage.prototype,
160 160
161 /** 161 /**
162 * Initializes a ThumbnailPage. 162 * Initializes a ThumbnailPage.
163 */ 163 */
164 initialize: function() { 164 initialize: function() {
165 TilePage.prototype.initialize.apply(this, arguments);
166
165 this.classList.add('thumbnail-page'); 167 this.classList.add('thumbnail-page');
166 }, 168 },
167 169
168 /** @override */ 170 /** @override */
169 shouldAcceptDrag: function(e) { 171 shouldAcceptDrag: function(e) {
170 return false; 172 return false;
171 }, 173 },
172 }; 174 };
173 175
174 return { 176 return {
175 Thumbnail: Thumbnail, 177 Thumbnail: Thumbnail,
176 ThumbnailPage: ThumbnailPage, 178 ThumbnailPage: ThumbnailPage,
177 }; 179 };
178 }); 180 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698