Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: chrome/browser/resources/backloader/scripts/background.js

Issue 10855239: Wired background loader component extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698