Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / hotword_audio_verification / event_page.js
1 // Copyright 2014 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   // TODO(kcarattini): Check if the app is already running. If so, bring it
7   // to focus rather than creating a new window.
8
9   // TODO(kcarattini): Don't show the window until the launch mode has been
10   // established.
11   chrome.app.window.create('main.html', {
12     'frame': 'none',
13     'resizable': false,
14     'bounds': {
15       'width': 800,
16       'height': 600
17     }
18   });
19 });