- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / extensions / platform_apps / web_view / popup_positioning / test.js
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
3 // found in the LICENSE file.
4
5 chrome.app.runtime.onLaunched.addListener(function() {
6   chrome.app.window.create('main.html', {
7     bounds: {
8       width: 400,
9       height: 400,
10       // Prefer close to top left on screen so we have enough space for
11       // rendering popup.
12       left: 20,
13       top: 20
14     }
15   }, function (win) {});
16 });