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} */
10var remoting = remoting || {};
11
12/** @constructor
13 *  @extends Event
14 */
15remoting.ClipboardData = function() {};
16
17/** @type {Array.<string>} */
18remoting.ClipboardData.prototype.types;
19
20/** @type {function(string): string} */
21remoting.ClipboardData.prototype.getData;
22
23/** @type {function(string, string): void} */
24remoting.ClipboardData.prototype.setData;
25
26/** @constructor
27 */
28remoting.ClipboardEvent = function() {};
29
30/** @type {remoting.ClipboardData} */
31remoting.ClipboardEvent.prototype.clipboardData;
32
33/** @type {function(): void} */
34remoting.ClipboardEvent.prototype.preventDefault;
35