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

Issue 2967893002: Display arrow cursor instead of i-beam when selection is not present (Closed)

Created:
3 years, 5 months ago by tanvir
Modified:
3 years, 5 months ago
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Display arrow cursor instead of i-beam when selection is not present When selection is not there , range is empty then on drag of mouse, arrow cursor should be shown. Currently I-beam cursor is shown visble selection in current code has selection type as carat. So we should check if selection type is range. BUG=735852

Patch Set 1 #

Patch Set 2 : layout test case updated #

Total comments: 1

Patch Set 3 : updated patch with expected file #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html View 1 2 1 chunk +14 lines, -0 lines 2 comments Download
M third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change-expected.txt View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 chunk +3 lines, -3 lines 2 comments Download

Messages

Total messages: 30 (22 generated)
Srirama
https://codereview.chromium.org/2967893002/diff/20001/third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html File third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html (right): https://codereview.chromium.org/2967893002/diff/20001/third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html#newcode68 third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html:68: eventSender.mouseMoveTo(target.offsetLeft+target.offsetWidth+50, target.offsetTop+target.offsetHeight+100); nit: add space on either side of ...
3 years, 5 months ago (2017-07-04 13:05:00 UTC) #17
tanvir
PTAL!!! Thanks
3 years, 5 months ago (2017-07-04 15:38:40 UTC) #21
yosin_UTC9
https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (left): https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp#oldcode555 third_party/WebKit/Source/core/input/EventHandler.cpp:555: !frame_->Selection() The issue is caused by hidden selection regarding ...
3 years, 5 months ago (2017-07-05 01:27:45 UTC) #24
tanvir
On 2017/07/05 01:27:45, yosin_UTC9 wrote: > https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp > File third_party/WebKit/Source/core/input/EventHandler.cpp (left): > > https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp#oldcode555 > ...
3 years, 5 months ago (2017-07-06 10:09:06 UTC) #25
hugoh_UTC2
https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html File third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html (right): https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html#newcode66 third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html:66: // If selection is not happening and mouse is ...
3 years, 5 months ago (2017-07-06 11:59:33 UTC) #27
hugoh_UTC2
https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (left): https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp#oldcode548 third_party/WebKit/Source/core/input/EventHandler.cpp:548: // During selection, use an I-beam no matter what ...
3 years, 5 months ago (2017-07-11 09:36:39 UTC) #28
yosin_UTC9
On 2017/07/11 at 09:36:39, hugoh wrote: > https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp > File third_party/WebKit/Source/core/input/EventHandler.cpp (left): > > https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Source/core/input/EventHandler.cpp#oldcode548 ...
3 years, 5 months ago (2017-07-20 01:02:38 UTC) #29
tanvir
3 years, 5 months ago (2017-07-20 05:28:54 UTC) #30
Message was sent while issue was closed.
On 2017/07/20 01:02:38, yosin_UTC9 wrote:
> On 2017/07/11 at 09:36:39, hugoh wrote:
> >
>
https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Sour...
> > File third_party/WebKit/Source/core/input/EventHandler.cpp (left):
> > 
> >
>
https://codereview.chromium.org/2967893002/diff/40001/third_party/WebKit/Sour...
> > third_party/WebKit/Source/core/input/EventHandler.cpp:548: // During
> selection, use an I-beam no matter what we're over.
> > http://crbug.com/735852 shows that this comment is wrong. We do not want to
> "use an I-beam no matter what we're over".
> > 
> > Is this block only needed when selecting links ?
> > 
> > I did an experiment here: https://chromium-review.googlesource.com/c/566798/
> 
> Could you close this review since another patch[1] fixed this issue?
> Thanks!
> 
> [1] http://crrev.com/c/566798

Done!!!
Thanks.

Powered by Google App Engine
This is Rietveld 408576698