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

Unified Diff: views/controls/textfield/native_textfield_win.cc

Issue 6156009: Handle WM_SYSKEYDOWN in NativeTextfieldWin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WM_SYSCHAR Created 9 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/textfield/native_textfield_win.cc
diff --git a/views/controls/textfield/native_textfield_win.cc b/views/controls/textfield/native_textfield_win.cc
index 404459df84fd789ba2dbf1ffc20392d610efc12d..3830986880baa0caf3ce47f17185048ae5a48371 100644
--- a/views/controls/textfield/native_textfield_win.cc
+++ b/views/controls/textfield/native_textfield_win.cc
@@ -899,10 +899,13 @@ void NativeTextfieldWin::HandleKeystroke(UINT message,
Event::EventType type;
switch (message) {
case WM_KEYDOWN:
+ case WM_SYSKEYDOWN:
case WM_CHAR:
+ case WM_SYSCHAR:
type = Event::ET_KEY_PRESSED;
break;
case WM_KEYUP:
+ case WM_SYSKEYUP:
type = Event::ET_KEY_RELEASED;
break;
default:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698