Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
|
Devlin
2016/12/09 15:23:48
no (c) (all files)
jennyz
2016/12/14 01:15:36
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 var clipDataChangedCount = 0; | |
| 6 | |
| 7 chrome.app.runtime.onLaunched.addListener(function(launchData) { | |
| 8 console.log('onLaunched'); | |
|
Devlin
2016/12/09 15:23:49
remove debugging logs
jennyz
2016/12/14 01:15:36
Done.
| |
| 9 chrome.app.window.create('app_main.html', | |
| 10 { 'width': 500, | |
| 11 'height': 500 }, | |
|
Devlin
2016/12/09 15:23:50
Please follow JS style here. Also, if you don't d
jennyz
2016/12/14 01:15:36
Done.
| |
| 12 function(window) { | |
| 13 }); | |
| 14 }); | |
| 15 | |
| 16 chrome.clipboard.onClipboardDataChanged.addListener(function() { | |
| 17 clipDataChangedCount++; | |
| 18 console.log('onClipboardDataChanged ' + clipDataChangedCount); | |
| 19 chrome.test.sendMessage("clipboard data changed " + clipDataChangedCount); | |
| 20 }); | |
| 21 | |
| OLD | NEW |