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

Issue 6004010: Implement clipboard features in views textfield. (Closed)

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

Description

Implement clipboard features in views textfield. BUG=none TEST=Added new test. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71136

Patch Set 1 #

Total comments: 8

Patch Set 2 : Modified according to comments #

Total comments: 6

Patch Set 3 : Modified according to comments #

Patch Set 4 : Merge conflicts #

Patch Set 5 : code style fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -39 lines) Patch
M views/controls/textfield/native_textfield_views.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M views/controls/textfield/native_textfield_views.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M views/controls/textfield/textfield_views_model.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M views/controls/textfield/textfield_views_model.cc View 1 2 3 4 2 chunks +35 lines, -0 lines 0 comments Download
M views/controls/textfield/textfield_views_model_unittest.cc View 1 2 3 4 2 chunks +59 lines, -0 lines 0 comments Download
A views/test/test_views_delegate.h View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M views/view_unittest.cc View 1 2 3 2 chunks +1 line, -38 lines 0 comments Download
M views/views.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
varunjain
9 years, 11 months ago (2011-01-04 21:32:52 UTC) #1
oshima
http://codereview.chromium.org/6004010/diff/1/views/controls/textfield/native_textfield_views.cc File views/controls/textfield/native_textfield_views.cc (right): http://codereview.chromium.org/6004010/diff/1/views/controls/textfield/native_textfield_views.cc#newcode471 views/controls/textfield/native_textfield_views.cc:471: text_changed = model_->HandleClipboardEvents(key_code); I think it's more consistent to ...
9 years, 11 months ago (2011-01-04 22:36:49 UTC) #2
rjkroege
http://codereview.chromium.org/6004010/diff/1/views/controls/textfield/textfield_views_model.cc File views/controls/textfield/textfield_views_model.cc (right): http://codereview.chromium.org/6004010/diff/1/views/controls/textfield/textfield_views_model.cc#newcode229 views/controls/textfield/textfield_views_model.cc:229: bool TextfieldViewsModel::HandleClipboardEvents(app::KeyboardCode key_code) { please remember that cut&paste is ...
9 years, 11 months ago (2011-01-05 15:31:22 UTC) #3
varunjain
http://codereview.chromium.org/6004010/diff/1/views/controls/textfield/native_textfield_views.cc File views/controls/textfield/native_textfield_views.cc (right): http://codereview.chromium.org/6004010/diff/1/views/controls/textfield/native_textfield_views.cc#newcode471 views/controls/textfield/native_textfield_views.cc:471: text_changed = model_->HandleClipboardEvents(key_code); On 2011/01/04 22:36:49, oshima wrote: > ...
9 years, 11 months ago (2011-01-05 16:19:31 UTC) #4
rjkroege
Please be sure to add the ability to invoke the Cut/Copy/Paste entry points from the ...
9 years, 11 months ago (2011-01-05 18:40:16 UTC) #5
oshima
http://codereview.chromium.org/6004010/diff/8001/views/controls/textfield/native_textfield_views.cc File views/controls/textfield/native_textfield_views.cc (right): http://codereview.chromium.org/6004010/diff/8001/views/controls/textfield/native_textfield_views.cc#newcode432 views/controls/textfield/native_textfield_views.cc:432: } no need for {} for single line. http://codereview.chromium.org/6004010/diff/8001/views/controls/textfield/textfield_views_model.h ...
9 years, 11 months ago (2011-01-05 18:50:30 UTC) #6
oshima
On 2011/01/05 18:40:16, rjkroege wrote: > Please be sure to add the ability to invoke ...
9 years, 11 months ago (2011-01-05 18:53:01 UTC) #7
varunjain
@rjkroege: The wrench menu cut/copy/paste buttons dont work for the new textfield. I will implement ...
9 years, 11 months ago (2011-01-05 19:03:35 UTC) #8
oshima
LGTM
9 years, 11 months ago (2011-01-05 19:51:26 UTC) #9
rjkroege
9 years, 11 months ago (2011-01-07 15:09:33 UTC) #10
Please add a TODO about the wrench menu entry points.

LGTM.

Powered by Google App Engine
This is Rietveld 408576698