Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp

Issue 2151353002: [InputEvent] Replace |EditAction| with |InputType| (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inputevent-text-styling
Patch Set: Replaced |EditAction| with |InputType| Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
index 9255f99b79ede2e9535ae6879c5d1d136ab28bbf..0cae339cf81745a6fc2738aa12c84fb43d510871 100644
--- a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
@@ -81,9 +81,9 @@ void MoveSelectionCommand::doApply(EditingState* editingState)
applyCommandToComposite(ReplaceSelectionCommand::create(document(), m_fragment, options), editingState);
}
-EditAction MoveSelectionCommand::editingAction() const
+InputEvent::InputType MoveSelectionCommand::inputType() const
{
- return EditActionDrag;
+ return InputEvent::InputType::Drag;
}
DEFINE_TRACE(MoveSelectionCommand)

Powered by Google App Engine
This is Rietveld 408576698