Index: services/ui/input_devices/touch_device_server.h |
diff --git a/services/ui/input_devices/touch_device_server.h b/services/ui/input_devices/touch_device_server.h |
deleted file mode 100644 |
index 6def2b0f777fd689c9923b2f7b55543405d1a325..0000000000000000000000000000000000000000 |
--- a/services/ui/input_devices/touch_device_server.h |
+++ /dev/null |
@@ -1,53 +0,0 @@ |
-// Copyright 2017 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef SERVICES_UI_INPUT_DEVICES_TOUCH_DEVICE_SERVER_H_ |
-#define SERVICES_UI_INPUT_DEVICES_TOUCH_DEVICE_SERVER_H_ |
- |
-#include "base/macros.h" |
-#include "mojo/public/cpp/bindings/binding_set.h" |
-#include "mojo/public/cpp/bindings/interface_ptr_set.h" |
-#include "services/ui/public/interfaces/input_devices/touch_device_server.mojom.h" |
- |
-namespace display { |
-class DefaultTouchTransformSetter; |
-} |
- |
-namespace service_manager { |
-class BinderRegistry; |
-struct BindSourceInfo; |
-} |
- |
-namespace ui { |
- |
-// Implementation of mojom::TouchDeviceServer. Uses an instance of |
-// DefaultTouchTransformSetter to apply the actual updates. |
-class TouchDeviceServer : public mojom::TouchDeviceServer { |
- public: |
- TouchDeviceServer(); |
- ~TouchDeviceServer() override; |
- |
- // Adds interface with the connection registry so remote observers can |
- // connect. |
- void AddInterface(service_manager::BinderRegistry* registry); |
- |
- // mojom::TouchDeviceServer: |
- void ConfigureTouchDevices( |
- const std::unordered_map<int32_t, double>& transport_scales, |
- const std::vector<display::TouchDeviceTransform>& transforms) override; |
- |
- private: |
- void BindTouchDeviceServerRequest( |
- const service_manager::BindSourceInfo& source_info, |
- mojom::TouchDeviceServerRequest request); |
- |
- mojo::BindingSet<mojom::TouchDeviceServer> bindings_; |
- std::unique_ptr<display::DefaultTouchTransformSetter> touch_transform_setter_; |
- |
- DISALLOW_COPY_AND_ASSIGN(TouchDeviceServer); |
-}; |
- |
-} // namespace ui |
- |
-#endif // SERVICES_UI_INPUT_DEVICES_TOUCH_DEVICE_SERVER_H_ |