Home | History | Annotate | Download | only in webapp
      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 /** @type {function(string, string): void} */
     24 remoting.ClipboardData.prototype.setData;
     25 
     26 /** @constructor
     27  */
     28 remoting.ClipboardEvent = function() {};
     29 
     30 /** @type {remoting.ClipboardData} */
     31 remoting.ClipboardEvent.prototype.clipboardData;
     32 
     33 /** @type {function(): void} */
     34 remoting.ClipboardEvent.prototype.preventDefault;
     35