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

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

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: should fix mac build 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
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 /** 94 /**
95 * Sends a clipboard item to the host. 95 * Sends a clipboard item to the host.
96 * 96 *
97 * @param {string} mimeType The MIME type of the clipboard item. 97 * @param {string} mimeType The MIME type of the clipboard item.
98 * @param {string} item The clipboard item. 98 * @param {string} item The clipboard item.
99 */ 99 */
100 remoting.ClientPlugin.prototype.sendClipboardItem = 100 remoting.ClientPlugin.prototype.sendClipboardItem =
101 function(mimeType, item) {}; 101 function(mimeType, item) {};
102 102
103 /** 103 /**
104 * Requests that the plugin handle touch input natively.
Wez 2015/04/09 22:59:00 Didn't we say we were adding an |enable| parameter
Rintaro Kuroiwa 2015/04/20 18:20:03 Oh I see. I thought you meant we could disable it
105 *
106 * @return {void} Nothing.
107 */
108 remoting.ClientPlugin.prototype.enableTouchEvents = function() {};
109
110 /**
104 * Request that this client be paired with the current host. 111 * Request that this client be paired with the current host.
105 * 112 *
106 * @param {string} clientName The human-readable name of the client. 113 * @param {string} clientName The human-readable name of the client.
107 * @param {function(string, string):void} onDone Callback to receive the 114 * @param {function(string, string):void} onDone Callback to receive the
108 * client id and shared secret when they are available. 115 * client id and shared secret when they are available.
109 */ 116 */
110 remoting.ClientPlugin.prototype.requestPairing = 117 remoting.ClientPlugin.prototype.requestPairing =
111 function(clientName, onDone) {}; 118 function(clientName, onDone) {};
112 119
113 /** 120 /**
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 /** 261 /**
255 * Preload the plugin to make instantiation faster when the user tries 262 * Preload the plugin to make instantiation faster when the user tries
256 * to connect. 263 * to connect.
257 */ 264 */
258 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {}; 265 remoting.ClientPluginFactory.prototype.preloadPlugin = function() {};
259 266
260 /** 267 /**
261 * @type {remoting.ClientPluginFactory} 268 * @type {remoting.ClientPluginFactory}
262 */ 269 */
263 remoting.ClientPlugin.factory = null; 270 remoting.ClientPlugin.factory = null;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698