chromium/ui/display/manager/test/touch_transform_controller_test_api.h

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_DISPLAY_MANAGER_TEST_TOUCH_TRANSFORM_CONTROLLER_TEST_API_H_
#define UI_DISPLAY_MANAGER_TEST_TOUCH_TRANSFORM_CONTROLLER_TEST_API_H_

#include "base/memory/raw_ptr.h"
#include "ui/display/manager/touch_transform_controller.h"

namespace display::test {

class TouchTransformControllerTestApi {
 public:
  explicit TouchTransformControllerTestApi(
      TouchTransformController* controller);

  TouchTransformControllerTestApi(const TouchTransformControllerTestApi&) =
      delete;
  TouchTransformControllerTestApi& operator=(
      const TouchTransformControllerTestApi&) = delete;

  ~TouchTransformControllerTestApi();

  TouchTransformSetter* touch_transform_setter() {
    return controller_->touch_transform_setter_.get();
  }

 private:
  raw_ptr<TouchTransformController> controller_ = nullptr;
};

}  // namespace display::test

#endif  // UI_DISPLAY_MANAGER_TEST_TOUCH_TRANSFORM_CONTROLLER_TEST_API_H_