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

Side by Side Diff: remoting/webapp/crd/js/client_plugin.js

Issue 1078563002: [Webapp Refactor] Clean up remoting.Clipboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove remoting.ClientSession.sendClipboardItem for real Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « remoting/webapp/base/js/application.js ('k') | remoting/webapp/crd/js/client_plugin_impl.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Interface abstracting the ClientPlugin functionality. 7 * Interface abstracting the ClientPlugin functionality.
8 */ 8 */
9 9
10 'use strict'; 10 'use strict';
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 */ 150 */
151 remoting.ClientPlugin.prototype.setConnectionEventHandler = 151 remoting.ClientPlugin.prototype.setConnectionEventHandler =
152 function(handler) {}; 152 function(handler) {};
153 153
154 /** 154 /**
155 * @param {function(string, number, number):void} handler Callback for 155 * @param {function(string, number, number):void} handler Callback for
156 * processing large mouse cursor images. The first parameter is a data: 156 * processing large mouse cursor images. The first parameter is a data:
157 * URL encoding the mouse cursor; the second and third parameters are 157 * URL encoding the mouse cursor; the second and third parameters are
158 * the cursor hotspot's x- and y-coordinates, respectively. 158 * the cursor hotspot's x- and y-coordinates, respectively.
159 */ 159 */
160 remoting.ClientPlugin.prototype.setMouseCursorHandler = 160 remoting.ClientPlugin.prototype.setMouseCursorHandler = function(handler) {};
161 function(handler) {}; 161
162 /**
163 * @param {function(string, string):void} handler Callback for processing
164 * clipboard data injected from the host. The first parameter is the mime
165 * type and the second parameter is the actual data.
166 */
167 remoting.ClientPlugin.prototype.setClipboardHandler = function(handler) {};
162 168
163 /** 169 /**
164 * @param {function({rects:Array<Array<number>>}):void|null} handler Callback 170 * @param {function({rects:Array<Array<number>>}):void|null} handler Callback
165 * to receive dirty region information for each video frame, for debugging. 171 * to receive dirty region information for each video frame, for debugging.
166 */ 172 */
167 remoting.ClientPlugin.prototype.setDebugDirtyRegionHandler = 173 remoting.ClientPlugin.prototype.setDebugDirtyRegionHandler =
168 function(handler) {}; 174 function(handler) {};
169 175
170 176
171 /** 177 /**
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 /** 257 /**
252 * Preload the plugin to make instantiation faster when the user tries 258 * Preload the plugin to make instantiation faster when the user tries
253 * to connect. 259 * to connect.
254 */ 260 */
255 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; 261 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {};
256 262
257 /** 263 /**
258 * @type {remoting.ClientPluginFactory} 264 * @type {remoting.ClientPluginFactory}
259 */ 265 */
260 remoting.ClientPlugin.factory = null; 266 remoting.ClientPlugin.factory = null;
OLDNEW
« no previous file with comments | « remoting/webapp/base/js/application.js ('k') | remoting/webapp/crd/js/client_plugin_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698