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.ClipboardEvent 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 * @extends Event |
| 14 */ |
| 15 remoting.ClipboardData = function() {}; |
| 16 |
| 17 /** @type {Array.<string>} */ |
| 18 remoting.ClipboardData.prototype.types; |
| 19 |
| 20 /** @type {function(string): string} */ |
| 21 remoting.ClipboardData.prototype.getData; |
| 22 |
| 23 /** @constructor |
| 24 */ |
| 25 remoting.ClipboardEvent = function() {}; |
| 26 |
| 27 /** @type {remoting.ClipboardData} */ |
| 28 remoting.ClipboardEvent.prototype.clipboardData; |
OLD | NEW |