| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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('chrome.popular_sites_internals', function() { | 5 cr.define('chrome.popular_sites_internals', function() { |
| 6 'use strict'; | 6 'use strict'; |
| 7 | 7 |
| 8 function initialize() { | 8 function initialize() { |
| 9 function submitUpdate(event) { | 9 function submitUpdate(event) { |
| 10 $('download-result').textContent = ''; | 10 $('download-result').textContent = ''; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 receiveOverrides: receiveOverrides, | 53 receiveOverrides: receiveOverrides, |
| 54 receiveDownloadResult: receiveDownloadResult, | 54 receiveDownloadResult: receiveDownloadResult, |
| 55 receiveSites: receiveSites, | 55 receiveSites: receiveSites, |
| 56 receiveJson: receiveJson, | 56 receiveJson: receiveJson, |
| 57 }; | 57 }; |
| 58 }); | 58 }); |
| 59 | 59 |
| 60 document.addEventListener('DOMContentLoaded', | 60 document.addEventListener('DOMContentLoaded', |
| 61 chrome.popular_sites_internals.initialize); | 61 chrome.popular_sites_internals.initialize); |
| 62 | 62 |
| OLD | NEW |