Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Unified Diff: remoting/webapp/clipboard_event_proto.js

Issue 9703003: [Chromoting] Let the webapp detect new clipboard text items when it gets focus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/clipboard.js ('k') | remoting/webapp/main.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/clipboard_event_proto.js
diff --git a/remoting/webapp/clipboard_event_proto.js b/remoting/webapp/clipboard_event_proto.js
new file mode 100644
index 0000000000000000000000000000000000000000..8a95bb668b26ce15d00dbb0faa4b3eea1a411008
--- /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;
« no previous file with comments | « remoting/webapp/clipboard.js ('k') | remoting/webapp/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698