diff options
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_win.cc | 5 | ||||
-rw-r--r-- | views/controls/textfield/native_textfield_win.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc index 0bc4f6c..5cc2662 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc +++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc @@ -907,7 +907,8 @@ bool AutocompleteEditViewWin::SkipDefaultKeyEventProcessing( return !e.IsAltDown() && e.IsControlDown(); case VK_BACK: - case 0xbb: + case 0xbb: // We don't use VK_OEM_PLUS in case the macro isn't defined. + // (e.g., we don't have this symbol in embeded environment). return true; default: @@ -1815,6 +1816,8 @@ bool AutocompleteEditViewWin::OnKeyDownOnlyWritable(TCHAR key, } case 0xbb: // Ctrl-'='. Triggers subscripting (even in plain text mode). + // We don't use VK_OEM_PLUS in case the macro isn't defined. + // (e.g., we don't have this symbol in embeded environment). return true; default: diff --git a/views/controls/textfield/native_textfield_win.cc b/views/controls/textfield/native_textfield_win.cc index 65c6b53..1ccf651 100644 --- a/views/controls/textfield/native_textfield_win.cc +++ b/views/controls/textfield/native_textfield_win.cc @@ -446,6 +446,8 @@ void NativeTextfieldWin::OnKeyDown(TCHAR key, UINT repeat_count, UINT flags) { return; case 0xbb: // Ctrl-'='. Triggers subscripting, even in plain text mode. + // We don't use VK_OEM_PLUS in case the macro isn't defined. + // (e.g., we don't have this symbol in embeded environment). return; case VK_PROCESSKEY: |