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

Side by Side Diff: services/ui/public/cpp/input_devices/input_device_client.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_MUS_PUBLIC_CPP_INPUT_DEVICES_INPUT_DEVICE_CLIENT_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_INPUT_DEVICES_INPUT_DEVICE_CLIENT_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_INPUT_DEVICES_INPUT_DEVICE_CLIENT_H_ 6 #define SERVICES_UI_PUBLIC_CPP_INPUT_DEVICES_INPUT_DEVICE_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/observer_list.h" 11 #include "base/observer_list.h"
12 #include "components/mus/public/interfaces/input_devices/input_device_server.moj om.h"
13 #include "mojo/public/cpp/bindings/array.h" 12 #include "mojo/public/cpp/bindings/array.h"
14 #include "mojo/public/cpp/bindings/binding.h" 13 #include "mojo/public/cpp/bindings/binding.h"
14 #include "services/ui/public/interfaces/input_devices/input_device_server.mojom. h"
15 #include "ui/events/devices/input_device.h" 15 #include "ui/events/devices/input_device.h"
16 #include "ui/events/devices/input_device_event_observer.h" 16 #include "ui/events/devices/input_device_event_observer.h"
17 #include "ui/events/devices/input_device_manager.h" 17 #include "ui/events/devices/input_device_manager.h"
18 #include "ui/events/devices/touchscreen_device.h" 18 #include "ui/events/devices/touchscreen_device.h"
19 19
20 namespace mus { 20 namespace mus {
21 21
22 // Allows in-process client code to register as a InputDeviceEventObserver and 22 // Allows in-process client code to register as a InputDeviceEventObserver and
23 // get information about input-devices. InputDeviceClient itself acts as an 23 // get information about input-devices. InputDeviceClient itself acts as an
24 // InputDeviceObserverMojo and registers to get updates from InputDeviceServer. 24 // InputDeviceObserverMojo and registers to get updates from InputDeviceServer.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool device_lists_complete_ = false; 74 bool device_lists_complete_ = false;
75 75
76 // List of in-process observers. 76 // List of in-process observers.
77 base::ObserverList<ui::InputDeviceEventObserver> observers_; 77 base::ObserverList<ui::InputDeviceEventObserver> observers_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(InputDeviceClient); 79 DISALLOW_COPY_AND_ASSIGN(InputDeviceClient);
80 }; 80 };
81 81
82 } // namespace mus 82 } // namespace mus
83 83
84 #endif // COMPONENTS_MUS_PUBLIC_CPP_INPUT_DEVICES_INPUT_DEVICE_CLIENT_H_ 84 #endif // SERVICES_UI_PUBLIC_CPP_INPUT_DEVICES_INPUT_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/input_devices/BUILD.gn ('k') | services/ui/public/cpp/input_devices/input_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698