| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 chrome.app.runtime.onLaunched.addListener(function() { |
| 6 chrome.app.window.create('page1.html', |
| 7 {'id': 'test', 'defaultLeft': 113, 'defaultTop': 117, |
| 8 'defaultWidth': 314, 'defaultHeight': 271, 'frame': 'none'}, |
| 9 function () {}); |
| 10 |
| 11 chrome.test.sendMessage('WaitForPage2', function(response) { |
| 12 chrome.app.window.create('page2.html', |
| 13 {'id': 'test', 'defaultLeft': 113, 'defaultTop': 117, |
| 14 'defaultWidth': 314, 'defaultHeight': 271, 'frame': 'none'}, |
| 15 function () {}); |
| 16 }); |
| 17 |
| 18 chrome.test.sendMessage('WaitForPage3', function(response) { |
| 19 chrome.app.window.create('page3.html', |
| 20 {'id': 'test', 'left': 201, 'top': 220, |
| 21 'defaultWidth': 314, 'defaultHeight': 271, 'frame': 'none'}, |
| 22 function () {}); |
| 23 }); |
| 24 |
| 25 }); |
| OLD | NEW |