blob: 232d622d0526257afd15b726983e57d8aa2acbff [file] [log] [blame]
// 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 UI_DISPLAY_MANAGER_TOUCH_TRANSFORM_SETTER_H_
#define UI_DISPLAY_MANAGER_TOUCH_TRANSFORM_SETTER_H_
#include <vector>
#include "base/macros.h"
#include "ui/display/manager/display_manager_export.h"
namespace ui {
struct TouchDeviceTransform;
}
namespace display {
// TouchTransformSetter is used by TouchTransformController to apply the actual
// settings.
class DISPLAY_MANAGER_EXPORT TouchTransformSetter {
public:
virtual ~TouchTransformSetter() {}
// |transforms| contains the transform for each device and display pair.
virtual void ConfigureTouchDevices(
const std::vector<ui::TouchDeviceTransform>& transforms) = 0;
};
} // namespace display
#endif // UI_DISPLAY_MANAGER_TOUCH_TRANSFORM_SETTER_H_