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

Issue 6982055: Draw a NativeTextfieldViews drop location cursor. (Closed)

Created:
9 years, 6 months ago by msw
Modified:
9 years, 6 months ago
Reviewers:
oshima
CC:
chromium-reviews, dhollowa
Visibility:
Public.

Description

Draw a NativeTextfieldViews drop location cursor. Move GetCursorBounds to NativeTextfieldViews. Some minor refactoring. BUG=72040 TEST=--use-pure-views textfield cursor showing drop location. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88618

Patch Set 1 #

Patch Set 2 : Init textfield bounds to fix NativeTextfieldViewsTest.DragAndDrop_AcceptDrop. #

Total comments: 4

Patch Set 3 : Combine cursor bounds data members, revise UpdateCursorBoundsAndTextOffset. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -56 lines) Patch
M views/controls/textfield/native_textfield_views.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M views/controls/textfield/native_textfield_views.cc View 1 2 14 chunks +44 lines, -35 lines 0 comments Download
M views/controls/textfield/native_textfield_views_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M views/controls/textfield/textfield_views_model.h View 1 chunk +0 lines, -3 lines 0 comments Download
M views/controls/textfield/textfield_views_model.cc View 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
msw
Please take a look.
9 years, 6 months ago (2011-06-07 00:52:56 UTC) #1
oshima
http://codereview.chromium.org/6982055/diff/6/views/controls/textfield/native_textfield_views.cc File views/controls/textfield/native_textfield_views.cc (right): http://codereview.chromium.org/6982055/diff/6/views/controls/textfield/native_textfield_views.cc#newcode768 views/controls/textfield/native_textfield_views.cc:768: DCHECK(x >= 0); can you change to DCHECK_GE? http://codereview.chromium.org/6982055/diff/6/views/controls/textfield/native_textfield_views.cc#newcode864 ...
9 years, 6 months ago (2011-06-07 17:32:52 UTC) #2
msw
PTAL. Comments addressed, and I fixed the cursor position for when the text offset is ...
9 years, 6 months ago (2011-06-08 23:50:29 UTC) #3
oshima
9 years, 6 months ago (2011-06-09 23:48:31 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698