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

Side by Side Diff: remoting/protocol/input_event_tracker.h

Issue 10894050: Remove support for Windows-style keycodes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Linux EventExecutor typo. Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/host_event_dispatcher.cc ('k') | remoting/protocol/input_event_tracker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PROTOCOL_INPUT_EVENT_TRACKER_H_ 5 #ifndef REMOTING_PROTOCOL_INPUT_EVENT_TRACKER_H_
6 #define REMOTING_PROTOCOL_INPUT_EVENT_TRACKER_H_ 6 #define REMOTING_PROTOCOL_INPUT_EVENT_TRACKER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 // to the InputStub. 33 // to the InputStub.
34 void ReleaseAll(); 34 void ReleaseAll();
35 35
36 // InputStub interface. 36 // InputStub interface.
37 virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE; 37 virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE;
38 virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE; 38 virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE;
39 39
40 private: 40 private:
41 protocol::InputStub* input_stub_; 41 protocol::InputStub* input_stub_;
42 42
43 // TODO(wez): Remove this member when we stop supporting VKEY based clients.
44 std::set<int> pressed_vkeys_;
45 std::set<uint32> pressed_keys_; 43 std::set<uint32> pressed_keys_;
46 44
47 SkIPoint mouse_pos_; 45 SkIPoint mouse_pos_;
48 uint32 mouse_button_state_; 46 uint32 mouse_button_state_;
49 47
50 DISALLOW_COPY_AND_ASSIGN(InputEventTracker); 48 DISALLOW_COPY_AND_ASSIGN(InputEventTracker);
51 }; 49 };
52 50
53 } // namespace protocol 51 } // namespace protocol
54 } // namespace remoting 52 } // namespace remoting
55 53
56 #endif // REMOTING_PROTOCOL_INPUT_EVENT_TRACKER_H_ 54 #endif // REMOTING_PROTOCOL_INPUT_EVENT_TRACKER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/host_event_dispatcher.cc ('k') | remoting/protocol/input_event_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698