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

Side by Side Diff: remoting/client/input/text_keyboard_input_strategy.cc

Issue 2903623002: Moving input related classes to the input folder. (Closed)
Patch Set: Hide gesture code from nacl. 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #include "remoting/client/input/text_keyboard_input_strategy.h" 5 #include "remoting/client/input/text_keyboard_input_strategy.h"
6 6
7 #include "remoting/client/input/client_input_injector.h" 7 #include "remoting/client/input/client_input_injector.h"
8 #include "remoting/client/native_device_keymap.h" 8 #include "remoting/client/input/native_device_keymap.h"
9 #include "ui/events/keycodes/dom/dom_code.h" 9 #include "ui/events/keycodes/dom/dom_code.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 TextKeyboardInputStrategy::TextKeyboardInputStrategy( 13 TextKeyboardInputStrategy::TextKeyboardInputStrategy(
14 ClientInputInjector* input_injector) 14 ClientInputInjector* input_injector)
15 : input_injector_(input_injector) {} 15 : input_injector_(input_injector) {}
16 16
17 TextKeyboardInputStrategy::~TextKeyboardInputStrategy() {} 17 TextKeyboardInputStrategy::~TextKeyboardInputStrategy() {}
18 18
(...skipping 21 matching lines...) Expand all
40 // Key press. 40 // Key press.
41 keys.push({static_cast<uint32_t>(ui::DomCode::BACKSPACE), true}); 41 keys.push({static_cast<uint32_t>(ui::DomCode::BACKSPACE), true});
42 42
43 // Key release. 43 // Key release.
44 keys.push({static_cast<uint32_t>(ui::DomCode::BACKSPACE), false}); 44 keys.push({static_cast<uint32_t>(ui::DomCode::BACKSPACE), false});
45 45
46 return keys; 46 return keys;
47 } 47 }
48 48
49 } // namespace remoting 49 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698