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.
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.
9 /** @suppress {duplicate} */
10 var remoting
= remoting
|| {};
15 remoting
.ClipboardData = function() {};
17 /** @type {Array.<string>} */
18 remoting
.ClipboardData
.prototype.types
;
20 /** @type {function(string): string} */
21 remoting
.ClipboardData
.prototype.getData
;
23 /** @type {function(string, string): void} */
24 remoting
.ClipboardData
.prototype.setData
;
28 remoting
.ClipboardEvent = function() {};
30 /** @type {remoting.ClipboardData} */
31 remoting
.ClipboardEvent
.prototype.clipboardData
;
33 /** @type {function(): void} */
34 remoting
.ClipboardEvent
.prototype.preventDefault
;