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

Issue 6034002: Replace Textfield::Keystroke with views::KeyEvent (Closed)

Created:
10 years ago by oshima
Modified:
9 years, 6 months ago
CC:
chromium-reviews, nkostylev+cc_chromium.org, davemoore+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Replace Textfield::Keystroke with views::KeyEvent. It looks big, but most of change is simple signature change. Note: I need your advice on how to deal with WM_CHAR event on Win. Please see my comment below. BUG=none TEST=no new functionality. All tests should still pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70553

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Total comments: 1

Patch Set 4 : " #

Total comments: 3

Patch Set 5 : key_code, ET_KEY_PRESS for WM_CHAR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -187 lines) Patch
M chrome/browser/chromeos/login/captcha_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/captcha_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_view.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/new_user_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/new_user_view.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/password_changed_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screen_lock_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screen_lock_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/screen_locker_tester.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/options/wifi_config_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/options/wifi_config_view.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/input_window_dialog_win.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/autofill_profiles_view_win.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/autofill_profiles_view_win.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmark_editor_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/dropdown_bar_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/dropdown_bar_host_gtk.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/dropdown_bar_host_win.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/edit_search_engine_dialog.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/edit_search_engine_dialog.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/find_bar_host.h View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/find_bar_host.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/find_bar_host_gtk.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/find_bar_host_win.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/options/cookies_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/options/cookies_view.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/options/exception_editor_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/options/exception_editor_view.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/options/general_page_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/options/general_page_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/url_picker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M views/controls/textfield/native_textfield_gtk.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M views/controls/textfield/native_textfield_views.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M views/controls/textfield/native_textfield_views_unittest.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M views/controls/textfield/native_textfield_win.cc View 1 2 3 4 2 chunks +22 lines, -2 lines 0 comments Download
M views/controls/textfield/textfield.h View 1 2 3 3 chunks +4 lines, -46 lines 0 comments Download
M views/controls/textfield/textfield.cc View 1 2 3 1 chunk +0 lines, -26 lines 0 comments Download
M views/event.h View 1 2 3 4 4 chunks +16 lines, -3 lines 0 comments Download
M views/event_win.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M views/examples/textfield_example.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
views/widget/widget_win.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
oshima
http://codereview.chromium.org/6034002/diff/17001/views/event.h File views/event.h (right): http://codereview.chromium.org/6034002/diff/17001/views/event.h#newcode358 views/event.h:358: app::KeyboardCode GetKeyCode() const { I think we should rename ...
9 years, 11 months ago (2011-01-04 20:26:34 UTC) #1
Ben Goodger (Google)
Thanks for doing this cleanup! http://codereview.chromium.org/6034002/diff/22001/views/controls/textfield/native_textfield_win.cc File views/controls/textfield/native_textfield_win.cc (right): http://codereview.chromium.org/6034002/diff/22001/views/controls/textfield/native_textfield_win.cc#newcode889 views/controls/textfield/native_textfield_win.cc:889: type = Event::ET_UNKNOWN; According ...
9 years, 11 months ago (2011-01-05 17:35:12 UTC) #2
oshima
On 2011/01/05 17:35:12, Ben Goodger wrote: > Thanks for doing this cleanup! > > http://codereview.chromium.org/6034002/diff/22001/views/controls/textfield/native_textfield_win.cc ...
9 years, 11 months ago (2011-01-05 19:27:35 UTC) #3
Ben Goodger (Google)
LGTM!
9 years, 11 months ago (2011-01-05 20:55:01 UTC) #4
Finnur
9 years, 11 months ago (2011-01-11 15:20:00 UTC) #5
This causes a NOTREACHED in native_textfield_win under certain circumstances
(http://crbug.com/69248)

On 2011/01/05 20:55:01, Ben Goodger wrote:
> LGTM!

Powered by Google App Engine
This is Rietveld 408576698