Chromium Code Reviews
DescriptionIntroduce EnabledUnselect for 'unselect' command
Among user-triggered editing commands using EnabledVisibleSelection,
'unselect' is the only one that should be enabled when the selection doesn't
have focus. Hence, this patch adds EnabledUnselect as its enabled function,
so that a follow up patch can disable the remaining commands when the
selection doesn't have focus.
BUG=722925
TEST=n/a; no behavioral changes
Review-Url: https://codereview.chromium.org/2891493003
Cr-Commit-Position: refs/heads/master@{#472315}
Committed: https://chromium.googlesource.com/chromium/src/+/d93e3784b84a368cae59ba1b57dd4dfbe26ade24
Patch Set 1 #Patch Set 2 : Tue May 16 12:43:45 PDT 2017 #
Dependent Patchsets: Messages
Total messages: 17 (13 generated)
|
|||||||||||||||||||