| Index: chrome/test/data/extensions/platform_apps/example/basic/window.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/example/basic/window.js b/chrome/test/data/extensions/platform_apps/example/basic/window.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0ee0f094130f67c68ed497aa29c27c2ea91bb231
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/platform_apps/example/basic/window.js
|
| @@ -0,0 +1,13 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +//
|
| +'use strict';
|
| +
|
| +window.onload = function() {
|
| + window.addEventListener('keyup', function(e) {
|
| + console.log('key up');
|
| + chrome.test.sendMessage('KEY_UP');
|
| + });
|
| + chrome.test.sendMessage('LOADED');
|
| +}
|
|
|