Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 // This file contains type definitions for the remoting.Event class, | |
| 6 // which is a subclass of Event. | |
| 7 // It is used only with JSCompiler to verify the type-correctness of our code. | |
| 8 | |
| 9 /** @suppress {duplicate} */ | |
| 10 var remoting = remoting || {}; | |
| 11 | |
| 12 /** @constructor | |
| 13 */ | |
| 14 remoting.ClipboardData = function() {}; | |
| 15 | |
| 16 /** @type {Array.<string>} */ | |
| 17 remoting.ClipboardData.prototype.types; | |
| 18 | |
| 19 /** @type {function(string): string} */ | |
| 20 remoting.ClipboardData.prototype.getData; | |
| 21 | |
| 22 /** @constructor | |
| 23 */ | |
| 24 remoting.Event = function() {}; | |
|
Jamie
2012/03/14 00:43:47
Maybe ClipboardEvent would be a better name. Also,
| |
| 25 | |
| 26 /** @type {remoting.ClipboardData} */ | |
| 27 remoting.Event.prototype.clipboardData; | |
| OLD | NEW |