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

Side by Side Diff: remoting/host/ipc_input_injector.cc

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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "remoting/host/ipc_input_injector.h" 5 #include "remoting/host/ipc_input_injector.h"
6 6
7 #include "remoting/host/desktop_session_proxy.h" 7 #include "remoting/host/desktop_session_proxy.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 void IpcInputInjector::InjectTouchEvent(const protocol::TouchEvent& event) { 36 void IpcInputInjector::InjectTouchEvent(const protocol::TouchEvent& event) {
37 desktop_session_proxy_->InjectTouchEvent(event); 37 desktop_session_proxy_->InjectTouchEvent(event);
38 } 38 }
39 39
40 void IpcInputInjector::Start( 40 void IpcInputInjector::Start(
41 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 41 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
42 desktop_session_proxy_->StartInputInjector(client_clipboard.Pass()); 42 desktop_session_proxy_->StartInputInjector(client_clipboard.Pass());
43 } 43 }
44 44
45 bool IpcInputInjector::CanInjectTouch() {
46 return InputInjector::DefaultCanInjectTouch();
Wez 2015/04/09 22:58:59 Can you extend the DesktopSessionProxy to get this
Rintaro Kuroiwa 2015/04/20 18:20:03 As discussed offline, we need a synchronous IPC to
47 }
48
45 } // namespace remoting 49 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698