OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2015 The Native Client Authors. All rights reserved. | |
3 * Use of this source code is governed by a BSD-style license that can be | |
4 * found in the LICENSE file. | |
5 */ | |
6 | |
7 'use strict'; | |
8 | |
9 // mount points are defined in naclprocess.js | |
10 // TODO(dt) make sure that datadirectory for tor is set to default for now | |
11 chrome.app.runtime.onLaunched.addListener(function() { | |
12 chrome.app.window.create('index.html', { | |
13 'bounds': { | |
14 'width': 850, | |
15 'height': 650, | |
16 }, | |
17 }); | |
18 }); | |
19 | |
20 chrome.runtime.onSuspend.addListener(function() { | |
21 // TODO(dt) add code to facilitate graceful exit of tor. | |
22 }); | |
OLD | NEW |