summaryrefslogtreecommitdiffstats
path: root/ui/views
diff options
context:
space:
mode:
authoryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-15 17:41:56 +0000
committeryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-15 17:41:56 +0000
commite9ec1dc3e21aba0e82e7fb203c143ad3ab865c9a (patch)
treecc2ef162a3e2d29aa1d0940a88077c1f348dfe51 /ui/views
parent10848bb9170ce6b242c3f682dd9a5aa85db65094 (diff)
downloadchromium_src-e9ec1dc3e21aba0e82e7fb203c143ad3ab865c9a.zip
chromium_src-e9ec1dc3e21aba0e82e7fb203c143ad3ab865c9a.tar.gz
chromium_src-e9ec1dc3e21aba0e82e7fb203c143ad3ab865c9a.tar.bz2
Do not consume an ET_KEY_RELEASED event in NativeTextfieldViews and NativeComboboxViews so FocusManager could process an ET_KEY_RELEASED accelerator.
BUG=127520,123856 TEST=try Review URL: https://chromiumcodereview.appspot.com/10389035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views')
-rw-r--r--ui/views/controls/combobox/native_combobox_views.cc2
-rw-r--r--ui/views/controls/textfield/native_textfield_views.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/views/controls/combobox/native_combobox_views.cc b/ui/views/controls/combobox/native_combobox_views.cc
index 40c05b7..1a538c8 100644
--- a/ui/views/controls/combobox/native_combobox_views.cc
+++ b/ui/views/controls/combobox/native_combobox_views.cc
@@ -221,7 +221,7 @@ bool NativeComboboxViews::HandleKeyPressed(const KeyEvent& e) {
}
bool NativeComboboxViews::HandleKeyReleased(const KeyEvent& e) {
- return true;
+ return false; // crbug.com/127520
}
void NativeComboboxViews::HandleFocus() {
diff --git a/ui/views/controls/textfield/native_textfield_views.cc b/ui/views/controls/textfield/native_textfield_views.cc
index eabfd3f31..2cdd450 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
}
void NativeTextfieldViews::HandleFocus() {