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

Unified Diff: ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc

Issue 219743002: x11: Move X event handling out of the message-pump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r261267 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
« no previous file with comments | « ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc
diff --git a/ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc b/ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc
index d43a630713994b8ad7bab71dd762327548d941e9..df8204d1a27f80211fe89285f6b9d68293355bcc 100644
--- a/ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc
+++ b/ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc
@@ -129,7 +129,7 @@ void NativeDisplayEventDispatcherX11Test::DispatchScreenChangeEvent() {
XRRScreenChangeNotifyEvent event = {0};
event.type = xrandr_event_base_ + RRScreenChangeNotify;
- dispatcher_->Dispatch(reinterpret_cast<const base::NativeEvent>(&event));
+ dispatcher_->DispatchEvent(reinterpret_cast<const PlatformEvent>(&event));
}
void NativeDisplayEventDispatcherX11Test::DispatchOutputChangeEvent(
@@ -145,7 +145,7 @@ void NativeDisplayEventDispatcherX11Test::DispatchOutputChangeEvent(
event.mode = mode;
event.connection = connected ? RR_Connected : RR_Disconnected;
- dispatcher_->Dispatch(reinterpret_cast<const base::NativeEvent>(&event));
+ dispatcher_->DispatchEvent(reinterpret_cast<const PlatformEvent>(&event));
}
} // namespace
« no previous file with comments | « ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698