| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |