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

Unified Diff: ui/views/controls/textfield/native_textfield_views.cc

Issue 10389035: Do not consume an ET_KEY_RELEASED event in NativeTextfieldViews and NativeComboboxViews (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/combobox/native_combobox_views.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/native_textfield_views.cc
diff --git a/ui/views/controls/textfield/native_textfield_views.cc b/ui/views/controls/textfield/native_textfield_views.cc
index eabfd3f3158a8e510a3dc3c71a1d6a844bcddb46..2cdd450f07bbd05c344d025ba8255b7ad6638b1b 100644
--- a/ui/views/controls/textfield/native_textfield_views.cc
+++ b/ui/views/controls/textfield/native_textfield_views.cc
@@ -494,7 +494,7 @@ bool NativeTextfieldViews::HandleKeyPressed(const KeyEvent& e) {
}
bool NativeTextfieldViews::HandleKeyReleased(const KeyEvent& e) {
- return true;
+ return false; // crbug.com/127520
oshima 2012/05/10 15:36:37 Are we sure we don't want to return true when KeyP
Yusuke Sato 2012/05/11 02:16:22 Unconditionally returning false would be better, I
oshima 2012/05/11 17:23:03 Does it distinguish it now? I'm probably OK with t
Yusuke Sato 2012/05/14 04:34:49 Yes. ui::AcceleratorManager (ui/base/accelerators/
}
void NativeTextfieldViews::HandleFocus() {
« no previous file with comments | « ui/views/controls/combobox/native_combobox_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698