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

Unified Diff: base/message_pump_x.cc

Issue 9958152: Consolidate win/x dispatchers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync, addressed comments Created 8 years, 8 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 | « base/message_pump_x.h ('k') | chrome/browser/ui/views/simple_message_box_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_x.cc
diff --git a/base/message_pump_x.cc b/base/message_pump_x.cc
index 171d5bdcade86f961a5a2262ce9f11f2d8c6505b..e7deff0f602316625093be29971493743f3acf22 100644
--- a/base/message_pump_x.cc
+++ b/base/message_pump_x.cc
@@ -144,14 +144,9 @@ bool MessagePumpX::ProcessXEvent(MessagePumpDispatcher* dispatcher,
}
if (!WillProcessXEvent(xev)) {
- MessagePumpDispatcher::DispatchStatus status =
- dispatcher->Dispatch(xev);
-
- if (status == MessagePumpDispatcher::EVENT_QUIT) {
+ if (!dispatcher->Dispatch(xev)) {
should_quit = true;
Quit();
- } else if (status == MessagePumpDispatcher::EVENT_IGNORED) {
- DVLOG(1) << "Event (" << xev->type << ") not handled.";
}
DidProcessXEvent(xev);
}
« no previous file with comments | « base/message_pump_x.h ('k') | chrome/browser/ui/views/simple_message_box_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698