| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ | 5 #ifndef REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ |
| 6 #define REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ | 6 #define REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/task.h" | 10 #include "base/task.h" |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "remoting/host/event_executor.h" |
| 13 #include "remoting/protocol/input_stub.h" | 14 #include "remoting/protocol/input_stub.h" |
| 14 | 15 |
| 15 class MessageLoop; | |
| 16 | |
| 17 namespace remoting { | 16 namespace remoting { |
| 18 | 17 |
| 19 class Capturer; | |
| 20 class KeyEvent; | 18 class KeyEvent; |
| 21 class MouseDownEvent; | 19 class MouseDownEvent; |
| 22 class MouseSetPositionEvent; | 20 class MouseSetPositionEvent; |
| 23 class MouseUpEvent; | 21 class MouseUpEvent; |
| 24 class MouseWheelEvent; | 22 class MouseWheelEvent; |
| 25 | 23 |
| 26 // A class to generate events on Windows. | 24 // A class to generate events on Windows. |
| 27 class EventExecutorWin : public protocol::InputStub { | 25 class EventExecutorWin : public protocol::InputStub { |
| 28 public: | 26 public: |
| 29 EventExecutorWin(MessageLoop* message_loop, Capturer* capturer); | 27 EventExecutorWin(MessageLoop* message_loop, Capturer* capturer); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 43 Capturer* capturer_; | 41 Capturer* capturer_; |
| 44 | 42 |
| 45 DISALLOW_COPY_AND_ASSIGN(EventExecutorWin); | 43 DISALLOW_COPY_AND_ASSIGN(EventExecutorWin); |
| 46 }; | 44 }; |
| 47 | 45 |
| 48 } // namespace remoting | 46 } // namespace remoting |
| 49 | 47 |
| 50 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::EventExecutorWin); | 48 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::EventExecutorWin); |
| 51 | 49 |
| 52 #endif // REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ | 50 #endif // REMOTING_HOST_EVENT_EXECUTOR_WIN_H_ |
| OLD | NEW |