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

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

Issue 275263002: [wip] ozonex: X11 backend for ozone. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 7 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/aura/window_tree_host_ozone.cc ('k') | ui/events/x/events_x11.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/platform/x11/x11_event_source_libevent.cc
diff --git a/ui/events/platform/x11/x11_event_source_libevent.cc b/ui/events/platform/x11/x11_event_source_libevent.cc
index d92e12a5d82cd911577c0bf1ff3142b643fab216..ab23ca72455fb380ce3edf9e0d0a8c96d46214e0 100644
--- a/ui/events/platform/x11/x11_event_source_libevent.cc
+++ b/ui/events/platform/x11/x11_event_source_libevent.cc
@@ -60,9 +60,13 @@ class X11EventSourceLibevent : public X11EventSource,
} // namespace
-scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() {
+scoped_ptr<PlatformEventSource> CreateX11LibeventSource() {
return scoped_ptr<PlatformEventSource>(
new X11EventSourceLibevent(gfx::GetXDisplay()));
}
+scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() {
+ return CreateX11LibeventSource();
+}
+
} // namespace ui
« no previous file with comments | « ui/aura/window_tree_host_ozone.cc ('k') | ui/events/x/events_x11.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698