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

Unified Diff: base/message_loop/message_pump_x11.h

Issue 223483002: base: Do not allow MessagePumpObservers to consume events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: base/message_loop/message_pump_x11.h
diff --git a/base/message_loop/message_pump_x11.h b/base/message_loop/message_pump_x11.h
index ce20d5d333cf0f86be9e64a282a05af46bf486e7..51d421fd6b0d5d1c9c3917d678a6af568de0e605 100644
--- a/base/message_loop/message_pump_x11.h
+++ b/base/message_loop/message_pump_x11.h
@@ -86,10 +86,8 @@ class BASE_EXPORT MessagePumpX11 : public MessagePumpGlib,
// Dispatches the event to the specified dispatcher.
void ProcessXEvent(MessagePumpDispatcher* dispatcher, XEvent* event);
- // Sends the event to the observers. If an observer returns true, then it does
- // not send the event to any other observers and returns true. Returns false
- // if no observer returns true.
- bool WillProcessXEvent(XEvent* xevent);
+ // Sends the event to the observers.
+ void WillProcessXEvent(XEvent* xevent);
void DidProcessXEvent(XEvent* xevent);
// Returns the Dispatcher based on the event's target window.

Powered by Google App Engine
This is Rietveld 408576698