#include "content/browser/renderer_host/input/touch_selection_controller_client_child_frame.h"
#include "base/check.h"
#include "base/notreached.h"
#include "content/browser/renderer_host/render_widget_host_delegate.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_view_child_frame.h"
#include "content/public/browser/touch_selection_controller_client_manager.h"
#include "third_party/blink/public/mojom/input/input_handler.mojom-shared.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/data_transfer_policy/data_transfer_endpoint.h"
#include "ui/base/pointer/touch_editing_controller.h"
#include "ui/base/ui_base_features.h"
#include "ui/base/ui_base_types.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/strings/grit/ui_strings.h"
namespace content {
TouchSelectionControllerClientChildFrame::
TouchSelectionControllerClientChildFrame(
RenderWidgetHostViewChildFrame* rwhv,
TouchSelectionControllerClientManager* manager)
: … { … }
TouchSelectionControllerClientChildFrame::
~TouchSelectionControllerClientChildFrame() { … }
void TouchSelectionControllerClientChildFrame::DidStopFlinging() { … }
void TouchSelectionControllerClientChildFrame::OnSwipeToMoveCursorBegin() { … }
void TouchSelectionControllerClientChildFrame::OnSwipeToMoveCursorEnd() { … }
void TouchSelectionControllerClientChildFrame::OnHitTestRegionUpdated() { … }
void TouchSelectionControllerClientChildFrame::
TransformSelectionBoundsAndUpdate() { … }
void TouchSelectionControllerClientChildFrame::UpdateSelectionBoundsIfNeeded(
const viz::Selection<gfx::SelectionBound>& selection,
float device_scale_factor) { … }
void TouchSelectionControllerClientChildFrame::ShowTouchSelectionContextMenu(
const gfx::Point& location) { … }
void TouchSelectionControllerClientChildFrame::DidScroll() { … }
gfx::Point TouchSelectionControllerClientChildFrame::ConvertFromRoot(
const gfx::PointF& point_f) const { … }
bool TouchSelectionControllerClientChildFrame::SupportsAnimation() const { … }
void TouchSelectionControllerClientChildFrame::SetNeedsAnimate() { … }
void TouchSelectionControllerClientChildFrame::MoveCaret(
const gfx::PointF& position) { … }
void TouchSelectionControllerClientChildFrame::MoveRangeSelectionExtent(
const gfx::PointF& extent) { … }
void TouchSelectionControllerClientChildFrame::SelectBetweenCoordinates(
const gfx::PointF& base,
const gfx::PointF& extent) { … }
void TouchSelectionControllerClientChildFrame::OnSelectionEvent(
ui::SelectionEventType event) { … }
void TouchSelectionControllerClientChildFrame::OnDragUpdate(
const ui::TouchSelectionDraggable::Type type,
const gfx::PointF& position) { … }
std::unique_ptr<ui::TouchHandleDrawable>
TouchSelectionControllerClientChildFrame::CreateDrawable() { … }
bool TouchSelectionControllerClientChildFrame::IsCommandIdEnabled(
int command_id) const { … }
void TouchSelectionControllerClientChildFrame::ExecuteCommand(int command_id,
int event_flags) { … }
void TouchSelectionControllerClientChildFrame::RunContextMenu() { … }
bool TouchSelectionControllerClientChildFrame::ShouldShowQuickMenu() { … }
std::u16string TouchSelectionControllerClientChildFrame::GetSelectedText() { … }
}