#include "third_party/blink/renderer/core/editing/selection_controller.h"
#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/editing/selection_template.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"
#include "third_party/blink/renderer/core/editing/visible_selection.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
namespace blink {
class SelectionControllerTest : public EditingTestBase { … };
bool SelectionControllerTest::SelectClosestWordFromHitTestResult(
const HitTestResult& result,
AppendTrailingWhitespace append_trailing_whitespace,
SelectInputEventType select_input_event_type) { … }
void SelectionControllerTest::SetCaretAtHitTestResult(
const HitTestResult& hit_test_result) { … }
void SelectionControllerTest::SetNonDirectionalSelectionIfNeeded(
const SelectionInFlatTree& new_selection,
TextGranularity granularity) { … }
TEST_F(SelectionControllerTest, setNonDirectionalSelectionIfNeeded) { … }
TEST_F(SelectionControllerTest, setCaretAtHitTestResult) { … }
TEST_F(SelectionControllerTest, setCaretAtHitTestResultWithNullPosition) { … }
TEST_F(SelectionControllerTest,
SetCaretAtHitTestResultWithDisconnectedPosition) { … }
TEST_F(SelectionControllerTest, AdjustSelectionWithTrailingWhitespace) { … }
TEST_F(SelectionControllerTest,
SelectClosestWordFromHitTestResultAtEndOfLine1) { … }
TEST_F(SelectionControllerTest,
SelectClosestWordFromHitTestResultAtEndOfLine2) { … }
TEST_F(SelectionControllerTest, SelectWordToEndOfLine) { … }
TEST_F(SelectionControllerTest, SelectWordToEndOfTableCell) { … }
TEST_F(SelectionControllerTest, Scroll) { … }
TEST_F(SelectionControllerTest, AdjustSelectionByUserSelectWithInput) { … }
TEST_F(SelectionControllerTest, AdjustSelectionByUserSelectWithSpan) { … }
TEST_F(SelectionControllerTest, AdjustSelectionByUserSelectWithComment) { … }
}