chromium/ui/touch_selection/longpress_drag_selector.h

// Copyright 2015 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_TOUCH_SELECTION_LONGPRESS_DRAG_SELECTOR_H_
#define UI_TOUCH_SELECTION_LONGPRESS_DRAG_SELECTOR_H_

#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "ui/gfx/geometry/point_f.h"
#include "ui/gfx/geometry/vector2d_f.h"
#include "ui/touch_selection/touch_selection_draggable.h"
#include "ui/touch_selection/ui_touch_selection_export.h"

namespace ui {

class MotionEvent;

class UI_TOUCH_SELECTION_EXPORT LongPressDragSelectorClient
    : public TouchSelectionDraggableClient {};

// Supports text selection via touch dragging after a longpress- or
// doublepress-initiated selection.
class UI_TOUCH_SELECTION_EXPORT LongPressDragSelector
    : public TouchSelectionDraggable {};

}  // namespace ui

#endif  // UI_TOUCH_SELECTION_LONGPRESS_DRAG_SELECTOR_H_