| 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 function Loader(pages) { | 5 function Loader(pages) { |
| 6 this.pages_ = pages; | 6 this.pages_ = pages; |
| 7 this.pages_loaded_ = false; | 7 this.pages_loaded_ = false; |
| 8 this.loaded_count_ = false; | 8 this.loaded_count_ = false; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 window.close(); | 92 window.close(); |
| 93 }.bind(this), this.UNLOAD_DELAY_IN_MS); | 93 }.bind(this), this.UNLOAD_DELAY_IN_MS); |
| 94 }.bind(this); | 94 }.bind(this); |
| 95 iframe.src = pageUrl; | 95 iframe.src = pageUrl; |
| 96 iframe.name = 'frame_' + index; | 96 iframe.name = 'frame_' + index; |
| 97 document.body.appendChild(iframe); | 97 document.body.appendChild(iframe); |
| 98 } | 98 } |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 Loader.getInstance().initialize(); | 101 Loader.getInstance().initialize(); |
| OLD | NEW |