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

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

Issue 1133913002: [Chromoting] Move shared webapp JS files from crd/js -> base/js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 * A class for moving clipboard items between the plugin and the OS. 7 * A class for moving clipboard items between the plugin and the OS.
8 */ 8 */
9 9
10 /** @suppress {duplicate} */ 10 /** @suppress {duplicate} */
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 * @private 206 * @private
207 */ 207 */
208 remoting.Clipboard.prototype.onCopy_ = function(event) { 208 remoting.Clipboard.prototype.onCopy_ = function(event) {
209 if (event && event.clipboardData && this.toOs_(event.clipboardData)) { 209 if (event && event.clipboardData && this.toOs_(event.clipboardData)) {
210 // The default action may overwrite items that we added to clipboardData. 210 // The default action may overwrite items that we added to clipboardData.
211 event.preventDefault(); 211 event.preventDefault();
212 } 212 }
213 }; 213 };
214 214
215 })(); 215 })();
OLDNEW
« no previous file with comments | « remoting/webapp/base/js/client_session_unittest.js ('k') | remoting/webapp/base/js/connected_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698