#include "content/browser/renderer_host/input/stylus_text_selector.h"
#include "base/check_op.h"
#include "base/notreached.h"
#include "ui/events/event_constants.h"
#include "ui/events/gesture_detection/gesture_detector.h"
#include "ui/events/gesture_detection/gesture_provider_config_helper.h"
#include "ui/events/velocity_tracker/motion_event.h"
GestureDetector;
MotionEvent;
namespace content {
namespace {
std::unique_ptr<GestureDetector> CreateGestureDetector(
ui::GestureListener* listener) { … }
}
StylusTextSelector::StylusTextSelector(StylusTextSelectorClient* client)
: … { … }
StylusTextSelector::~StylusTextSelector() { … }
bool StylusTextSelector::OnTouchEvent(const MotionEvent& event) { … }
bool StylusTextSelector::OnSingleTapUp(const MotionEvent& e, int tap_count) { … }
bool StylusTextSelector::OnScroll(const MotionEvent& e1,
const MotionEvent& e2,
const MotionEvent& secondary_pointer_down,
float distance_x,
float distance_y) { … }
bool StylusTextSelector::ShouldStartTextSelection(const MotionEvent& event) { … }
}