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

Unified Diff: third_party/WebKit/Source/core/editing/commands/UnlinkCommand.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/UnlinkCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp b/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp
index 8ca99a2b506f7a5153b32641937e7e73a1f7a5a6..646b8ce785be7c1b342a791b7e0d59f439f4c180 100644
--- a/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/UnlinkCommand.cpp
@@ -43,4 +43,9 @@ void UnlinkCommand::doApply(EditingState* editingState)
removeStyledElement(HTMLAnchorElement::create(document()), editingState);
}
+InputEvent::InputType UnlinkCommand::inputType() const
+{
+ return InputEvent::InputType::Unlink;
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/editing/commands/UnlinkCommand.h ('k') | third_party/WebKit/Source/core/events/InputEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698