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

Issue 2891493003: Introduce EnabledUnselect for 'unselect' command (Closed)

Created:
3 years, 7 months ago by Xiaocheng
Modified:
3 years, 7 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp View 1 2 chunks +14 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (13 generated)
Xiaocheng
PTAL.
3 years, 7 months ago (2017-05-16 21:01:45 UTC) #9
yosin_UTC9
lgtm
3 years, 7 months ago (2017-05-17 01:15:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2891493003/20001
3 years, 7 months ago (2017-05-17 01:16:40 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 04:05:05 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d93e3784b84a368cae59ba1b57dd...

Powered by Google App Engine
This is Rietveld 408576698