Chromium Code Reviews
Description[InputEvent] Move attributes from |EditCommand| to |CompositeEditCommand| (2/11)
This CL moved/added 4 |InputEvent| related attributes to |CompositeEditCommand|:
1. |inputType()|
2. |textDataForInputEvent()|
3. |dataTransferForInputEvent()|
4. |targetRangesForInputEvent()|
And introduced utility |isComposingFromCommand()|.
Reasoning:
|CompositeEditCommand| is more suitable for |InputEvent| as we never fire
'beforeinput' from |SimpleEditCommand|.
This CL doesn't have behavior change.
Please see bug and the design doc below for the big picture:
https://docs.google.com/a/chromium.org/document/d/1M9bQaLKdRpR1qJ9i7zZKN-hKwd4ZkgJs5GPde2ZsDy0/edit?usp=sharing
BUG=678795
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 10 (7 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||