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 /** | 5 /** |
6 * @fileoverview New tab page | 6 * @fileoverview New tab page |
7 * This is the main code for the new tab page used by touch-enabled Chrome | 7 * This is the main code for the new tab page used by touch-enabled Chrome |
8 * browsers. For now this is still a prototype. | 8 * browsers. For now this is still a prototype. |
9 */ | 9 */ |
10 | 10 |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 setStripeColor: setStripeColor, | 586 setStripeColor: setStripeColor, |
587 showNotification: showNotification, | 587 showNotification: showNotification, |
588 themeChanged: themeChanged, | 588 themeChanged: themeChanged, |
589 updateLogin: updateLogin | 589 updateLogin: updateLogin |
590 }; | 590 }; |
591 }); | 591 }); |
592 | 592 |
593 document.addEventListener('DOMContentLoaded', ntp.onLoad); | 593 document.addEventListener('DOMContentLoaded', ntp.onLoad); |
594 | 594 |
595 var toCssPx = cr.ui.toCssPx; | 595 var toCssPx = cr.ui.toCssPx; |
OLD | NEW |