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

Issue 6119003: views textfield: Handle ctrl and shift modifiers for Backspace and Delete (Closed)

Created:
9 years, 11 months ago by sadrul
Modified:
9 years, 6 months ago
Reviewers:
oshima
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

views textfield: Handle ctrl and shift modifiers for Backspace and Delete BUG=none TEST=NativeTextfieldViewsTest.InsertionDeletionTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71041

Patch Set 1 #

Patch Set 2 : comments #

Total comments: 2

Patch Set 3 : Match behaviour with webkit, and add modifier support for Delete key too. #

Patch Set 4 : TODO: Undo/Redo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -0 lines) Patch
M views/controls/textfield/native_textfield_views.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M views/controls/textfield/native_textfield_views.cc View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M views/controls/textfield/native_textfield_views_unittest.cc View 1 2 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sadrul
9 years, 11 months ago (2011-01-10 16:30:36 UTC) #1
oshima
http://codereview.chromium.org/6119003/diff/2001/views/controls/textfield/native_textfield_views.cc File views/controls/textfield/native_textfield_views.cc (right): http://codereview.chromium.org/6119003/diff/2001/views/controls/textfield/native_textfield_views.cc#newcode476 views/controls/textfield/native_textfield_views.cc:476: } are we going to implement gtk behavior? If ...
9 years, 11 months ago (2011-01-10 23:15:17 UTC) #2
sadrul
http://codereview.chromium.org/6119003/diff/2001/views/controls/textfield/native_textfield_views.cc File views/controls/textfield/native_textfield_views.cc (right): http://codereview.chromium.org/6119003/diff/2001/views/controls/textfield/native_textfield_views.cc#newcode476 views/controls/textfield/native_textfield_views.cc:476: } On 2011/01/10 23:15:17, oshima wrote: > are we ...
9 years, 11 months ago (2011-01-11 04:46:54 UTC) #3
sadrul
> I think it makes sense to imitate the behaviour of webkit, since the same ...
9 years, 11 months ago (2011-01-11 05:12:50 UTC) #4
oshima
LGTM On Mon, Jan 10, 2011 at 8:46 PM, <sadrul@chromium.org> wrote: > > > http://codereview.chromium.org/6119003/diff/2001/views/controls/textfield/native_textfield_views.cc ...
9 years, 11 months ago (2011-01-11 08:34:58 UTC) #5
sadrul
9 years, 11 months ago (2011-01-11 14:17:03 UTC) #6
On 2011/01/11 08:34:58, oshima wrote:
> LGTM

Thanks for looking at this!

[snip]
> > On a somewhat related noted: I was wondering if there are plans to have
> > undo/redo support in views-textfield (at least for the omnibox, it's
> > probably something that will be missed if it isn't there)?
> 
> Yes. I thought I had it in the comment, but if not, please add (or I'll
> add).

I have added it in the list of not-yet supported features.

Powered by Google App Engine
This is Rietveld 408576698