#include "third_party/blink/renderer/core/editing/commands/move_commands.h"
#include "third_party/blink/public/mojom/input/focus_type.mojom-blink.h"
#include "third_party/blink/renderer/core/dom/focus_params.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/editing/editing_behavior.h"
#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/editing/editor.h"
#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/editing/selection_modifier.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.h"
namespace blink {
unsigned MoveCommands::VerticalScrollDistance(LocalFrame& frame) { … }
bool MoveCommands::ModifySelectionWithPageGranularity(
LocalFrame& frame,
SelectionModifyAlteration alter,
unsigned vertical_distance,
SelectionModifyVerticalDirection direction) { … }
bool MoveCommands::MoveSelection(LocalFrame& frame,
SelectionModifyDirection direction,
TextGranularity granularity) { … }
void MoveCommands::UpdateFocusForCaretBrowsing(LocalFrame& frame) { … }
void MoveCommands::UpdateSelectionForCaretBrowsing(LocalFrame& frame) { … }
bool MoveCommands::ExecuteMoveBackward(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveBackwardAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveDown(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveDownAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveForward(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveForwardAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveLeft(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveLeftAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMovePageDown(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMovePageDownAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMovePageUp(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMovePageUpAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveParagraphBackward(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveParagraphBackwardAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveParagraphForward(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveParagraphForwardAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveRight(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveRightAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToBeginningOfDocument(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToBeginningOfDocumentAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToBeginningOfLine(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToBeginningOfLineAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToBeginningOfParagraph(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToBeginningOfParagraphAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToBeginningOfSentence(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToBeginningOfSentenceAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToEndOfDocument(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToEndOfDocumentAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToEndOfLine(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToEndOfLineAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToEndOfParagraph(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToEndOfParagraphAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToEndOfSentence(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToEndOfSentenceAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToLeftEndOfLine(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToLeftEndOfLineAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToRightEndOfLine(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveToRightEndOfLineAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveUp(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveUpAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveWordBackward(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveWordBackwardAndModifySelection(
LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveWordForward(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveWordForwardAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveWordLeft(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveWordLeftAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveWordRight(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
bool MoveCommands::ExecuteMoveWordRightAndModifySelection(LocalFrame& frame,
Event*,
EditorCommandSource,
const String&) { … }
}