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

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

Issue 2358083003: [remoting android] Remove host It2Me implementation. (Closed)
Patch Set: Update remoting/host/it2me/ Created 4 years, 2 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/disconnect_window_android.cc ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/logging.h"
6 #include "base/memory/ptr_util.h"
7 #include "remoting/host/input_injector.h"
8
9 namespace remoting {
10
11 namespace {
12
13 class InputInjectorAndroid : public InputInjector {
14 public:
15 InputInjectorAndroid() {}
16
17 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override {
18 NOTIMPLEMENTED();
19 }
20
21 void InjectKeyEvent(const protocol::KeyEvent& event) override {
22 NOTIMPLEMENTED();
23 }
24
25 void InjectTextEvent(const protocol::TextEvent& event) override {
26 NOTIMPLEMENTED();
27 }
28
29 void InjectMouseEvent(const protocol::MouseEvent& event) override {
30 NOTIMPLEMENTED();
31 }
32
33 void InjectTouchEvent(const protocol::TouchEvent& event) override {
34 NOTIMPLEMENTED();
35 }
36
37 void Start(
38 std::unique_ptr<protocol::ClipboardStub> client_clipboard) override {}
39
40 private:
41 DISALLOW_COPY_AND_ASSIGN(InputInjectorAndroid);
42 };
43
44 } // namespace
45
46 // static
47 std::unique_ptr<InputInjector> InputInjector::Create(
48 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
49 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
50 return base::WrapUnique(new InputInjectorAndroid());
51 }
52
53 // static
54 bool InputInjector::SupportsTouchEvents() {
55 return false;
56 }
57
58 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/disconnect_window_android.cc ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698