// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_STYLUS_TEXT_SELECTOR_H_ #define CONTENT_BROWSER_RENDERER_HOST_INPUT_STYLUS_TEXT_SELECTOR_H_ #include <memory> #include "base/gtest_prod_util.h" #include "base/memory/raw_ptr.h" #include "base/time/time.h" #include "content/common/content_export.h" #include "ui/events/gesture_detection/gesture_listeners.h" namespace ui { class GestureDetector; class MotionEvent; } namespace content { class StylusTextSelectorTest; // Interface with which the StylusTextSelector conveys drag and tap gestures // when the activating button is pressed. // selection handles, or long press. class CONTENT_EXPORT StylusTextSelectorClient { … }; // Provides stylus-based text selection and interaction, including: // * Selection manipulation when an activating stylus button is pressed and // the stylus is dragged. // * Word selection and context menu activation when the when an activating // stylus button is pressed and the stylus is tapped. class CONTENT_EXPORT StylusTextSelector : public ui::SimpleGestureListener { … }; } // namespace content #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_STYLUS_TEXT_SELECTOR_H_