mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Adds setText to web engine (flutter/engine#24873)
This commit is contained in:
parent
c0b9da55ea
commit
ccb762f01b
@ -81,6 +81,7 @@ class SemanticsAction {
|
||||
_kDismissIndex: dismiss,
|
||||
_kMoveCursorForwardByWordIndex: moveCursorForwardByWord,
|
||||
_kMoveCursorBackwardByWordIndex: moveCursorBackwardByWord,
|
||||
_kSetText: setText,
|
||||
};
|
||||
|
||||
@override
|
||||
@ -128,6 +129,8 @@ class SemanticsAction {
|
||||
return 'SemanticsAction.moveCursorForwardByWord';
|
||||
case _kMoveCursorBackwardByWordIndex:
|
||||
return 'SemanticsAction.moveCursorBackwardByWord';
|
||||
case _kSetText:
|
||||
return 'SemanticsAction.setText';
|
||||
}
|
||||
assert(false, 'Unhandled index: $index');
|
||||
return '';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user