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

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

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change setter to public and add license header Created 5 years, 6 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/remoting_srcs.gypi ('k') | remoting/webapp/base/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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 /** 109 /**
110 * Sends a clipboard item to the host. 110 * Sends a clipboard item to the host.
111 * 111 *
112 * @param {string} mimeType The MIME type of the clipboard item. 112 * @param {string} mimeType The MIME type of the clipboard item.
113 * @param {string} item The clipboard item. 113 * @param {string} item The clipboard item.
114 */ 114 */
115 remoting.ClientPlugin.prototype.sendClipboardItem = 115 remoting.ClientPlugin.prototype.sendClipboardItem =
116 function(mimeType, item) {}; 116 function(mimeType, item) {};
117 117
118 /** 118 /**
119 * Notifies the plugin whether to send touch events to the host.
120 *
121 * @param {boolean} enable True if touch events should be sent.
122 */
123 remoting.ClientPlugin.prototype.enableTouchEvents = function(enable) {};
124
125 /**
119 * Request that this client be paired with the current host. 126 * Request that this client be paired with the current host.
120 * 127 *
121 * @param {string} clientName The human-readable name of the client. 128 * @param {string} clientName The human-readable name of the client.
122 * @param {function(string, string):void} onDone Callback to receive the 129 * @param {function(string, string):void} onDone Callback to receive the
123 * client id and shared secret when they are available. 130 * client id and shared secret when they are available.
124 */ 131 */
125 remoting.ClientPlugin.prototype.requestPairing = 132 remoting.ClientPlugin.prototype.requestPairing =
126 function(clientName, onDone) {}; 133 function(clientName, onDone) {};
127 134
128 /** 135 /**
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 /** 262 /**
256 * Preload the plugin to make instantiation faster when the user tries 263 * Preload the plugin to make instantiation faster when the user tries
257 * to connect. 264 * to connect.
258 */ 265 */
259 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; 266 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {};
260 267
261 /** 268 /**
262 * @type {remoting.ClientPluginFactory} 269 * @type {remoting.ClientPluginFactory}
263 */ 270 */
264 remoting.ClientPlugin.factory = null; 271 remoting.ClientPlugin.factory = null;
OLDNEW
« no previous file with comments | « remoting/remoting_srcs.gypi ('k') | remoting/webapp/base/js/client_plugin_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698