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

Unified Diff: ui/events/platform/x11/x11_event_source.cc

Issue 233653002: x11: Remove MessagePumpObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | « ui/display/chromeos/x11/native_display_delegate_x11.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/platform/x11/x11_event_source.cc
diff --git a/ui/events/platform/x11/x11_event_source.cc b/ui/events/platform/x11/x11_event_source.cc
index 865fdb1a2c67eefda30bde43c89770355340c21c..910578f0bfa435672a9b54c13957cb8436bcea78 100644
--- a/ui/events/platform/x11/x11_event_source.cc
+++ b/ui/events/platform/x11/x11_event_source.cc
@@ -11,7 +11,6 @@
#include <X11/XKBlib.h>
#include "base/logging.h"
-#include "base/message_loop/message_loop.h"
#include "ui/events/event_utils.h"
#include "ui/events/platform/platform_event_dispatcher.h"
#include "ui/gfx/x/x11_types.h"
@@ -195,12 +194,7 @@ uint32_t X11EventSource::DispatchEvent(XEvent* xevent) {
have_cookie = true;
}
- // TODO(sad): Remove this once all MessagePumpObservers are turned into
- // PlatformEventObservers.
- base::MessagePumpX11::Current()->WillProcessXEvent(xevent);
uint32_t action = PlatformEventSource::DispatchEvent(xevent);
- base::MessagePumpX11::Current()->DidProcessXEvent(xevent);
-
if (xevent->type == GenericEvent &&
xevent->xgeneric.evtype == XI_HierarchyChanged) {
ui::UpdateDeviceList();
« no previous file with comments | « ui/display/chromeos/x11/native_display_delegate_x11.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698