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

Issue 2646963002: Stop dismissing selection handles when selection is kept (Closed)

Created:
3 years, 11 months ago by Changwan Ryu
Modified:
3 years, 10 months ago
Reviewers:
yosin_UTC9, amaralp
CC:
aelias_OOO_until_Jul13, blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop dismissing selection handles when selection is kept When we finish composing text and keep selection, selection handles get dismissed because of intermediate selection changes, even though the final selection will not change. BUG=630137 Review-Url: https://codereview.chromium.org/2646963002 Cr-Commit-Position: refs/heads/master@{#448875} Committed: https://chromium.googlesource.com/chromium/src/+/29810350d256c855e8d1af4c715b28da3a992336

Patch Set 1 #

Total comments: 12

Patch Set 2 : avoid control flow in IMC and rebase #

Total comments: 14

Patch Set 3 : rebased on amaralp@'s CLs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -11 lines) Patch
M third_party/WebKit/Source/core/editing/InputMethodController.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 2 3 chunks +28 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/data/longpress_selection.html View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (16 generated)
yosin_UTC9
Thanks quick work! It is nearly what I imagine, see comments for direction. https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.cpp File ...
3 years, 11 months ago (2017-01-20 07:54:07 UTC) #4
amaralp
https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/VisibleSelection.h File third_party/WebKit/Source/core/editing/VisibleSelection.h (right): https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/VisibleSelection.h#newcode125 third_party/WebKit/Source/core/editing/VisibleSelection.h:125: bool isHandleVisible() const { return m_isHandleVisible; } On 2017/01/20 ...
3 years, 11 months ago (2017-01-24 03:38:29 UTC) #8
yosin_UTC9
On 2017/01/24 at 03:38:29, amaralp wrote: > https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/VisibleSelection.h > File third_party/WebKit/Source/core/editing/VisibleSelection.h (right): > > https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/VisibleSelection.h#newcode125 ...
3 years, 11 months ago (2017-01-24 04:25:54 UTC) #9
Changwan Ryu
https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.cpp File third_party/WebKit/Source/core/editing/FrameSelection.cpp (right): https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.cpp#newcode195 third_party/WebKit/Source/core/editing/FrameSelection.cpp:195: (options & HandleVisible || s.isHandleVisible()) On 2017/01/20 07:54:07, Yosi_UTC9 ...
3 years, 11 months ago (2017-01-24 06:38:45 UTC) #11
yosin_UTC9
https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode711 third_party/WebKit/Source/core/editing/InputMethodController.cpp:711: FrameSelection::SetSelectionOptions options) { On 2017/01/24 at 06:38:45, Changwan Ryu ...
3 years, 11 months ago (2017-01-24 07:58:27 UTC) #15
Changwan Ryu
3 years, 11 months ago (2017-01-25 00:57:40 UTC) #16
amaralp
https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.cpp File third_party/WebKit/Source/core/editing/FrameSelection.cpp (right): https://codereview.chromium.org/2646963002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.cpp#newcode195 third_party/WebKit/Source/core/editing/FrameSelection.cpp:195: (options & HandleVisible || s.isHandleVisible()) On 2017/01/24 at 06:38:45, ...
3 years, 11 months ago (2017-01-25 03:48:35 UTC) #17
yosin_UTC9
https://codereview.chromium.org/2646963002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2646963002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode253 third_party/WebKit/Source/core/editing/InputMethodController.cpp:253: bool isHandleVisible = frame().selection().isHandleVisible(); s/bool/const bool/ https://codereview.chromium.org/2646963002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode254 third_party/WebKit/Source/core/editing/InputMethodController.cpp:254: EphemeralRange ...
3 years, 11 months ago (2017-01-25 03:49:08 UTC) #18
Changwan Ryu
Let me upload a new patch after https://codereview.chromium.org/2647283006 and https://codereview.chromium.org/2664443002 land first.
3 years, 10 months ago (2017-02-02 06:42:51 UTC) #19
amaralp
On 2017/02/02 at 06:42:51, changwan wrote: > Let me upload a new patch after > ...
3 years, 10 months ago (2017-02-07 20:33:23 UTC) #20
Changwan Ryu
PTAL amaralp@: Thanks for fixing them! https://codereview.chromium.org/2646963002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2646963002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode253 third_party/WebKit/Source/core/editing/InputMethodController.cpp:253: bool isHandleVisible = ...
3 years, 10 months ago (2017-02-08 00:40:33 UTC) #23
yosin_UTC9
lgtm
3 years, 10 months ago (2017-02-08 01:49:04 UTC) #24
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/2646963002/40001
3 years, 10 months ago (2017-02-08 01:54:41 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 02:52:02 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/29810350d256c855e8d1af4c715b...

Powered by Google App Engine
This is Rietveld 408576698