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

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

Issue 2693863003: [InputEvent] Change |getTargetRanges()| to return current selection by default (Closed)
Patch Set: yosin's review: Use const Node&, add null checks Created 3 years, 10 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 d7afc086d4f48f6a8cf8be95d5dc5c0a81bd2b78..a35dcfb7c07ffc188db21ce6adcad5a540dc53d9 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h
@@ -413,15 +413,14 @@ const String& nonBreakingSpaceString();
// -------------------------------------------------------------------------
// Functions dispatch InputEvent
-DispatchEventResult dispatchBeforeInputInsertText(EventTarget*,
- const String& data);
-DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*,
+const RangeVector* targetRangesForInputEvent(const Node&);
+DispatchEventResult dispatchBeforeInputInsertText(Node*, const String& data);
+DispatchEventResult dispatchBeforeInputEditorCommand(Node*,
InputEvent::InputType,
const RangeVector*);
-DispatchEventResult dispatchBeforeInputDataTransfer(EventTarget*,
+DispatchEventResult dispatchBeforeInputDataTransfer(Node*,
InputEvent::InputType,
- DataTransfer*,
- const RangeVector*);
+ DataTransfer*);
InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection,
TextGranularity);

Powered by Google App Engine
This is Rietveld 408576698