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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilities.h

Issue 2779813002: [InputEvent] Don't modify selection when transpose was canceled (Closed)
Patch Set: Created 3 years, 9 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/EditingUtilities.h
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h
index 567aeaa3eec52927290378b60d571b5e740bdb96..c3711686ff1921746cfd6b92d91f6859305c0f0e 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h
@@ -425,7 +425,8 @@ const StaticRangeVector* targetRangesForInputEvent(const Node&);
DispatchEventResult dispatchBeforeInputInsertText(
Node*,
const String& data,
- InputEvent::InputType = InputEvent::InputType::InsertText);
+ InputEvent::InputType = InputEvent::InputType::InsertText,
+ const StaticRangeVector* = nullptr);
DispatchEventResult dispatchBeforeInputEditorCommand(Node*,
InputEvent::InputType,
const StaticRangeVector*);

Powered by Google App Engine
This is Rietveld 408576698