#include "ui/touch_selection/longpress_drag_selector.h"
#include "base/auto_reset.h"
#include "ui/events/velocity_tracker/motion_event.h"
namespace ui {
namespace {
gfx::Vector2dF SafeNormalize(const gfx::Vector2dF& v) { … }
}
LongPressDragSelector::LongPressDragSelector(
LongPressDragSelectorClient* client)
: … { … }
LongPressDragSelector::~LongPressDragSelector() { … }
bool LongPressDragSelector::WillHandleTouchEvent(const MotionEvent& event) { … }
bool LongPressDragSelector::IsActive() const { … }
void LongPressDragSelector::OnLongPressEvent(base::TimeTicks event_time,
const gfx::PointF& position) { … }
void LongPressDragSelector::OnDoublePressEvent(base::TimeTicks event_time,
const gfx::PointF& position) { … }
void LongPressDragSelector::OnScrollBeginEvent() { … }
void LongPressDragSelector::OnSelectionActivated() { … }
void LongPressDragSelector::OnSelectionDeactivated() { … }
void LongPressDragSelector::SetState(SelectionState state) { … }
}