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

Side by Side Diff: remoting/host/win/session_input_injector.h

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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WIN_SESSION_INPUT_INJECTOR_H_ 5 #ifndef REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_
6 #define REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_ 6 #define REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 25 matching lines...) Expand all
36 scoped_ptr<protocol::ClipboardStub> client_clipboard) override; 36 scoped_ptr<protocol::ClipboardStub> client_clipboard) override;
37 37
38 // protocol::ClipboardStub implementation. 38 // protocol::ClipboardStub implementation.
39 virtual void InjectClipboardEvent( 39 virtual void InjectClipboardEvent(
40 const protocol::ClipboardEvent& event) override; 40 const protocol::ClipboardEvent& event) override;
41 41
42 // protocol::InputStub implementation. 42 // protocol::InputStub implementation.
43 virtual void InjectKeyEvent(const protocol::KeyEvent& event) override; 43 virtual void InjectKeyEvent(const protocol::KeyEvent& event) override;
44 virtual void InjectTextEvent(const protocol::TextEvent& event) override; 44 virtual void InjectTextEvent(const protocol::TextEvent& event) override;
45 virtual void InjectMouseEvent(const protocol::MouseEvent& event) override; 45 virtual void InjectMouseEvent(const protocol::MouseEvent& event) override;
46 virtual void InjectTouchEvent(const protocol::TouchEvent& event) override;
46 47
47 private: 48 private:
48 // The actual implementation resides in SessionInputInjectorWin::Core class. 49 // The actual implementation resides in SessionInputInjectorWin::Core class.
49 class Core; 50 class Core;
50 scoped_refptr<Core> core_; 51 scoped_refptr<Core> core_;
51 52
52 DISALLOW_COPY_AND_ASSIGN(SessionInputInjectorWin); 53 DISALLOW_COPY_AND_ASSIGN(SessionInputInjectorWin);
53 }; 54 };
54 55
55 } // namespace remoting 56 } // namespace remoting
56 57
57 #endif // REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_ 58 #endif // REMOTING_HOST_WIN_SESSION_INPUT_INJECTOR_H_
OLDNEW
« no previous file with comments | « remoting/host/single_window_input_injector_mac.cc ('k') | remoting/host/win/session_input_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698