| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 launcher start page implementation. | 6 * @fileoverview App launcher start page implementation. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * The maximum height of the Google Doodle. Note this value should be consistent | 10 * The maximum height of the Google Doodle. Note this value should be consistent |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 $('logo_container').appendChild(this.doodle); | 107 $('logo_container').appendChild(this.doodle); |
| 108 } | 108 } |
| 109 | 109 |
| 110 return { | 110 return { |
| 111 initialize: initialize, | 111 initialize: initialize, |
| 112 onAppListDoodleUpdated: onAppListDoodleUpdated, | 112 onAppListDoodleUpdated: onAppListDoodleUpdated, |
| 113 onAppListShown: onAppListShown, | 113 onAppListShown: onAppListShown, |
| 114 }; | 114 }; |
| 115 }); | 115 }); |
| 116 | 116 |
| 117 document.addEventListener('contextmenu', function(e) { e.preventDefault(); }); | 117 document.addEventListener('contextmenu', function(e) { |
| 118 e.preventDefault(); |
| 119 }); |
| 118 document.addEventListener('DOMContentLoaded', appList.startPage.initialize); | 120 document.addEventListener('DOMContentLoaded', appList.startPage.initialize); |
| OLD | NEW |