diff options
Diffstat (limited to 'remoting/webapp/clipboard_event_proto.js')
-rw-r--r-- | remoting/webapp/clipboard_event_proto.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/remoting/webapp/clipboard_event_proto.js b/remoting/webapp/clipboard_event_proto.js new file mode 100644 index 0000000..8a95bb6 --- /dev/null +++ b/remoting/webapp/clipboard_event_proto.js @@ -0,0 +1,28 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// This file contains type definitions for the remoting.ClipboardEvent class, +// which is a subclass of Event. +// It is used only with JSCompiler to verify the type-correctness of our code. + +/** @suppress {duplicate} */ +var remoting = remoting || {}; + +/** @constructor + * @extends Event + */ +remoting.ClipboardData = function() {}; + +/** @type {Array.<string>} */ +remoting.ClipboardData.prototype.types; + +/** @type {function(string): string} */ +remoting.ClipboardData.prototype.getData; + +/** @constructor + */ +remoting.ClipboardEvent = function() {}; + +/** @type {remoting.ClipboardData} */ +remoting.ClipboardEvent.prototype.clipboardData; |