OLD | NEW |
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 // We can't pass the currently dragging tile via dataTransfer because of | 8 // We can't pass the currently dragging tile via dataTransfer because of |
9 // http://crbug.com/31037 | 9 // http://crbug.com/31037 |
10 var currentlyDraggingTile = null; | 10 var currentlyDraggingTile = null; |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1368 assert(false); | 1368 assert(false); |
1369 }, | 1369 }, |
1370 }; | 1370 }; |
1371 | 1371 |
1372 return { | 1372 return { |
1373 getCurrentlyDraggingTile: getCurrentlyDraggingTile, | 1373 getCurrentlyDraggingTile: getCurrentlyDraggingTile, |
1374 setCurrentDropEffect: setCurrentDropEffect, | 1374 setCurrentDropEffect: setCurrentDropEffect, |
1375 TilePage: TilePage, | 1375 TilePage: TilePage, |
1376 }; | 1376 }; |
1377 }); | 1377 }); |
OLD | NEW |