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

Side by Side Diff: remoting/host/input_injector_chromeos.cc

Issue 1136503003: Consolidate ui/events/keycodes/dom[34]/ into .../dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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/host/BUILD.gn ('k') | remoting/host/input_injector_mac.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/host/input_injector_chromeos.h" 5 #include "remoting/host/input_injector_chromeos.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "remoting/host/chromeos/point_transformer.h" 12 #include "remoting/host/chromeos/point_transformer.h"
13 #include "remoting/host/clipboard.h" 13 #include "remoting/host/clipboard.h"
14 #include "remoting/proto/internal.pb.h" 14 #include "remoting/proto/internal.pb.h"
15 #include "ui/events/keycodes/dom3/dom_code.h" 15 #include "ui/events/keycodes/dom/dom_code.h"
16 #include "ui/events/keycodes/dom4/keycode_converter.h" 16 #include "ui/events/keycodes/dom/keycode_converter.h"
17 #include "ui/ozone/public/input_controller.h" 17 #include "ui/ozone/public/input_controller.h"
18 #include "ui/ozone/public/ozone_platform.h" 18 #include "ui/ozone/public/ozone_platform.h"
19 #include "ui/ozone/public/system_input_injector.h" 19 #include "ui/ozone/public/system_input_injector.h"
20 20
21 namespace remoting { 21 namespace remoting {
22 22
23 using protocol::ClipboardEvent; 23 using protocol::ClipboardEvent;
24 using protocol::KeyEvent; 24 using protocol::KeyEvent;
25 using protocol::MouseEvent; 25 using protocol::MouseEvent;
26 using protocol::TextEvent; 26 using protocol::TextEvent;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // static 210 // static
211 scoped_ptr<InputInjector> InputInjector::Create( 211 scoped_ptr<InputInjector> InputInjector::Create(
212 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 212 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
213 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { 213 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
214 // The Ozone input injector must be called on the UI task runner of the 214 // The Ozone input injector must be called on the UI task runner of the
215 // browser process. 215 // browser process.
216 return make_scoped_ptr(new InputInjectorChromeos(ui_task_runner)); 216 return make_scoped_ptr(new InputInjectorChromeos(ui_task_runner));
217 } 217 }
218 218
219 } // namespace remoting 219 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/input_injector_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698