#include "ui/views/selection_controller.h"
#include <algorithm>
#include <vector>
#include "build/build_config.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/events/event.h"
#include "ui/gfx/render_text.h"
#include "ui/views/metrics.h"
#include "ui/views/selection_controller_delegate.h"
#include "ui/views/style/platform_style.h"
#include "ui/views/view.h"
namespace views {
SelectionController::SelectionController(SelectionControllerDelegate* delegate)
: … { … }
bool SelectionController::OnMousePressed(
const ui::MouseEvent& event,
bool handled,
InitialFocusStateOnMousePress initial_focus_state) { … }
bool SelectionController::OnMouseDragged(const ui::MouseEvent& event) { … }
void SelectionController::OnMouseReleased(const ui::MouseEvent& event) { … }
void SelectionController::OnMouseCaptureLost() { … }
void SelectionController::OffsetDoubleClickWord(size_t offset) { … }
void SelectionController::TrackMouseClicks(const ui::MouseEvent& event) { … }
void SelectionController::SelectWord(const gfx::Point& point) { … }
void SelectionController::SelectAll() { … }
gfx::RenderText* SelectionController::GetRenderText() { … }
void SelectionController::SelectThroughLastDragLocation() { … }
bool SelectionController::IsInsideText(const gfx::Point& point) { … }
}