OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_CLIENT_X11_INPUT_HANDLER_H_ |
| 6 #define REMOTING_CLIENT_X11_INPUT_HANDLER_H_ |
| 7 |
| 8 #include "remoting/client/input_handler.h" |
| 9 |
| 10 namespace remoting { |
| 11 |
| 12 class ClientContext; |
| 13 class ChromotingView; |
| 14 |
| 15 class X11InputHandler : public InputHandler { |
| 16 public: |
| 17 X11InputHandler(ClientContext* context, ChromotingView* view); |
| 18 virtual ~X11InputHandler(); |
| 19 |
| 20 void Initialize(); |
| 21 |
| 22 private: |
| 23 |
| 24 void DoProcessX11Events(); |
| 25 |
| 26 void ScheduleX11EventHandler(); |
| 27 |
| 28 ClientContext* context_; |
| 29 ChromotingView* view_; |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(X11InputHandler); |
| 32 }; |
| 33 |
| 34 } // namespace remoting |
| 35 |
| 36 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::X11InputHandler); |
| 37 |
| 38 #endif // REMOTING_CLIENT_X11_INPUT_HANDLER_H_ |
OLD | NEW |