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

Unified Diff: base/message_loop/message_pump_win.cc

Issue 1267483003: Combine the WM_CHAR with WM_KEY* for key event flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | ui/base/ime/input_method_win.h » ('j') | ui/base/ime/input_method_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_pump_win.cc
diff --git a/base/message_loop/message_pump_win.cc b/base/message_loop/message_pump_win.cc
index 10e308aa9dc3406ad5d1f02c5edca8e6a83573c9..0438580c889cbcba5b627e588c7f78610aabd0e7 100644
--- a/base/message_loop/message_pump_win.cc
+++ b/base/message_loop/message_pump_win.cc
@@ -400,10 +400,8 @@ bool MessagePumpForUI::ProcessMessageHelper(const MSG& msg) {
}
if (action & MessagePumpDispatcher::POST_DISPATCH_QUIT_LOOP)
state_->should_quit = true;
- if (action & MessagePumpDispatcher::POST_DISPATCH_PERFORM_DEFAULT) {
- TranslateMessage(&msg);
James Su 2015/08/03 16:09:00 better add comment to explain why we don't call Tr
Shu Chen 2015/08/04 08:18:42 Done.
+ if (action & MessagePumpDispatcher::POST_DISPATCH_PERFORM_DEFAULT)
DispatchMessage(&msg);
- }
return true;
}
« no previous file with comments | « no previous file | ui/base/ime/input_method_win.h » ('j') | ui/base/ime/input_method_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698