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

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

Issue 799233004: Add touch events to the protocol, the stub layer, and to the client plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 9 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/host/fake_desktop_environment.h ('k') | remoting/host/host_mock_objects.h » ('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 #include "remoting/host/fake_desktop_environment.h" 5 #include "remoting/host/fake_desktop_environment.h"
6 6
7 #include "remoting/host/audio_capturer.h" 7 #include "remoting/host/audio_capturer.h"
8 #include "remoting/host/fake_desktop_capturer.h" 8 #include "remoting/host/fake_desktop_capturer.h"
9 #include "remoting/host/gnubby_auth_handler.h" 9 #include "remoting/host/gnubby_auth_handler.h"
10 #include "remoting/host/input_injector.h" 10 #include "remoting/host/input_injector.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 FakeInputInjector::FakeInputInjector() {} 14 FakeInputInjector::FakeInputInjector() {}
15 FakeInputInjector::~FakeInputInjector() {} 15 FakeInputInjector::~FakeInputInjector() {}
16 16
17 void FakeInputInjector::Start( 17 void FakeInputInjector::Start(
18 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 18 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
19 } 19 }
20 20
21 void FakeInputInjector::InjectKeyEvent(const protocol::KeyEvent& event) { 21 void FakeInputInjector::InjectKeyEvent(const protocol::KeyEvent& event) {
22 } 22 }
23 23
24 void FakeInputInjector::InjectTextEvent(const protocol::TextEvent& event) { 24 void FakeInputInjector::InjectTextEvent(const protocol::TextEvent& event) {
25 } 25 }
26 26
27 void FakeInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) { 27 void FakeInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) {
28 } 28 }
29 29
30 void FakeInputInjector::InjectTouchEvent(const protocol::TouchEvent& event) {
31 }
32
30 void FakeInputInjector::InjectClipboardEvent( 33 void FakeInputInjector::InjectClipboardEvent(
31 const protocol::ClipboardEvent& event) { 34 const protocol::ClipboardEvent& event) {
32 } 35 }
33 36
34 FakeScreenControls::FakeScreenControls() {} 37 FakeScreenControls::FakeScreenControls() {}
35 FakeScreenControls::~FakeScreenControls() {} 38 FakeScreenControls::~FakeScreenControls() {}
36 39
37 void FakeScreenControls::SetScreenResolution( 40 void FakeScreenControls::SetScreenResolution(
38 const ScreenResolution& resolution) { 41 const ScreenResolution& resolution) {
39 } 42 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void FakeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) {} 96 void FakeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) {}
94 97
95 bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const { 98 bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const {
96 return false; 99 return false;
97 } 100 }
98 101
99 void FakeDesktopEnvironmentFactory::SetEnableGnubbyAuth(bool enable) {} 102 void FakeDesktopEnvironmentFactory::SetEnableGnubbyAuth(bool enable) {}
100 103
101 104
102 } // namespace remoting 105 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/fake_desktop_environment.h ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698