#ifndef UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_TEST_API_H_
#define UI_TOUCH_SELECTION_TOUCH_SELECTION_CONTROLLER_TEST_API_H_
#include "base/memory/raw_ptr.h"
#include "ui/touch_selection/touch_selection_controller.h"
namespace ui {
class TouchSelectionControllerTestApi {
public:
explicit TouchSelectionControllerTestApi(
TouchSelectionController* controller);
TouchSelectionControllerTestApi(const TouchSelectionControllerTestApi&) =
delete;
TouchSelectionControllerTestApi& operator=(
const TouchSelectionControllerTestApi&) = delete;
~TouchSelectionControllerTestApi();
bool GetStartVisible() const;
bool GetEndVisible() const;
float GetStartAlpha() const;
float GetEndAlpha() const;
float GetInsertionHandleAlpha() const;
TouchHandleOrientation GetStartHandleOrientation() const;
TouchHandleOrientation GetEndHandleOrientation() const;
bool temporarily_hidden() const { return controller_->temporarily_hidden_; }
private:
const raw_ptr<TouchSelectionController> controller_;
};
}
#endif