| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "remoting/host/input_injector_chromeos.h" | |
| 6 | |
| 7 #include "base/logging.h" | |
| 8 #include "remoting/proto/internal.pb.h" | |
| 9 | |
| 10 namespace remoting { | |
| 11 | |
| 12 using protocol::ClipboardEvent; | |
| 13 using protocol::KeyEvent; | |
| 14 using protocol::MouseEvent; | |
| 15 using protocol::TextEvent; | |
| 16 | |
| 17 // TODO(kelvinp): Implement this class (See crbug.com/426716). | |
| 18 InputInjectorChromeos::InputInjectorChromeos( | |
| 19 scoped_refptr<base::SingleThreadTaskRunner> task_runner) | |
| 20 : input_task_runner_(task_runner) { | |
| 21 NOTIMPLEMENTED(); | |
| 22 } | |
| 23 | |
| 24 InputInjectorChromeos::~InputInjectorChromeos() { | |
| 25 NOTIMPLEMENTED(); | |
| 26 } | |
| 27 | |
| 28 void InputInjectorChromeos::InjectClipboardEvent(const ClipboardEvent& event) { | |
| 29 NOTIMPLEMENTED(); | |
| 30 } | |
| 31 | |
| 32 void InputInjectorChromeos::InjectKeyEvent(const KeyEvent& event) { | |
| 33 NOTIMPLEMENTED(); | |
| 34 } | |
| 35 | |
| 36 void InputInjectorChromeos::InjectTextEvent(const TextEvent& event) { | |
| 37 NOTIMPLEMENTED(); | |
| 38 } | |
| 39 | |
| 40 void InputInjectorChromeos::InjectMouseEvent(const MouseEvent& event) { | |
| 41 NOTIMPLEMENTED(); | |
| 42 } | |
| 43 | |
| 44 void InputInjectorChromeos::Start( | |
| 45 scoped_ptr<protocol::ClipboardStub> client_clipboard) { | |
| 46 NOTIMPLEMENTED(); | |
| 47 } | |
| 48 | |
| 49 // static | |
| 50 scoped_ptr<InputInjector> InputInjector::Create( | |
| 51 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | |
| 52 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | |
| 53 scoped_ptr<InputInjectorChromeos> injector(new InputInjectorChromeos( | |
| 54 ui_task_runner)); | |
| 55 return injector.Pass(); | |
| 56 } | |
| 57 | |
| 58 } // namespace remoting | |
| OLD | NEW |