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

Side by Side Diff: remoting/client/input/key_event_mapper.h

Issue 2900203002: Moving input filter files and keymap to input directory. (Closed)
Patch Set: Fix include for input. Created 3 years, 7 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
« no previous file with comments | « remoting/client/input/BUILD.gn ('k') | remoting/client/input/key_event_mapper.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_CLIENT_KEY_EVENT_MAPPER_H_ 5 #ifndef REMOTING_CLIENT_INPUT_KEY_EVENT_MAPPER_H_
6 #define REMOTING_CLIENT_KEY_EVENT_MAPPER_H_ 6 #define REMOTING_CLIENT_INPUT_KEY_EVENT_MAPPER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "remoting/protocol/input_filter.h" 16 #include "remoting/protocol/input_filter.h"
(...skipping 27 matching lines...) Expand all
44 void InjectKeyEvent(const protocol::KeyEvent& event) override; 44 void InjectKeyEvent(const protocol::KeyEvent& event) override;
45 45
46 private: 46 private:
47 std::map<uint32_t, uint32_t> mapped_keys; 47 std::map<uint32_t, uint32_t> mapped_keys;
48 std::set<uint32_t> trapped_keys; 48 std::set<uint32_t> trapped_keys;
49 KeyTrapCallback trap_callback; 49 KeyTrapCallback trap_callback;
50 50
51 DISALLOW_COPY_AND_ASSIGN(KeyEventMapper); 51 DISALLOW_COPY_AND_ASSIGN(KeyEventMapper);
52 }; 52 };
53 53
54 } // namespace remoting 54 } // namespace remoting
55 55
56 #endif // REMOTING_CLIENT_KEY_EVENT_MAPPER_H_ 56 #endif // REMOTING_CLIENT_INPUT_KEY_EVENT_MAPPER_H_
OLDNEW
« no previous file with comments | « remoting/client/input/BUILD.gn ('k') | remoting/client/input/key_event_mapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698