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

Unified Diff: base/message_pump_x.h

Issue 9808010: Keep the mouse cursor within desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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_pump_x.h
diff --git a/base/message_pump_x.h b/base/message_pump_x.h
index cd9dc7f7b0351df4d7bd865f6cd2d3e7ba80982b..a9c5cdbf84c458b7606fbcdf54d5a7e678a49b47 100644
--- a/base/message_pump_x.h
+++ b/base/message_pump_x.h
@@ -30,14 +30,12 @@ class MessagePumpDispatcher {
EVENT_QUIT // The event was processed and the message-loop should
// terminate.
};
+ virtual ~MessagePumpDispatcher() {}
// Dispatches the event. EVENT_IGNORED is returned if the event was ignored
// (i.e. not processed). EVENT_PROCESSED is returned if the event was
// processed. The nested loop exits immediately if EVENT_QUIT is returned.
virtual DispatchStatus Dispatch(XEvent* xevent) = 0;
-
- protected:
- virtual ~MessagePumpDispatcher() {}
};
// This class implements a message-pump for dispatching X events.

Powered by Google App Engine
This is Rietveld 408576698