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

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

Issue 2903623002: Moving input related classes to the input folder. (Closed)
Patch Set: Hide gesture code from nacl. Created 3 years, 6 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/native_device_keymap.h" 5 #include "remoting/client/input/native_device_keymap.h"
6 6
7 namespace remoting { 7 namespace remoting {
8 8
9 uint32_t NativeDeviceKeycodeToUsbKeycode(size_t device_keycode) { 9 uint32_t NativeDeviceKeycodeToUsbKeycode(size_t device_keycode) {
10 // For iOS we don't have access to device keycode. The keycode should already 10 // For iOS we don't have access to device keycode. The keycode should already
11 // be in the usb keycode format, so we can just return the same code. 11 // be in the usb keycode format, so we can just return the same code.
12 return device_keycode; 12 return device_keycode;
13 } 13 }
14 14
15 } // namespace remoting 15 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698