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

Unified Diff: ui/aura/env.cc

Issue 23880006: gtk: Allow building both the X11 and Gtk message-pumps for gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 7 years, 3 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/demo/demo_main.cc ('k') | ui/aura/root_window_host_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/env.cc
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index 6b2b3e023a3dbd9a6dc1df81e02f409df2eb5615..38d3320d47dd3ee858662991e090cac6c9f8e85f 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -12,7 +12,7 @@
#include "ui/compositor/compositor_switches.h"
#if defined(USE_X11)
-#include "base/message_loop/message_pump_aurax11.h"
+#include "base/message_loop/message_pump_x11.h"
#endif
namespace aura {
@@ -30,7 +30,7 @@ Env::Env()
Env::~Env() {
#if defined(USE_X11)
- base::MessagePumpAuraX11::Current()->RemoveObserver(
+ base::MessagePumpX11::Current()->RemoveObserver(
&device_list_updater_aurax11_);
#endif
@@ -65,7 +65,7 @@ void Env::RemoveObserver(EnvObserver* observer) {
#if !defined(OS_MACOSX)
base::MessageLoop::Dispatcher* Env::GetDispatcher() {
#if defined(USE_X11)
- return base::MessagePumpAuraX11::Current();
+ return base::MessagePumpX11::Current();
#else
return dispatcher_.get();
#endif
@@ -87,7 +87,7 @@ void Env::Init() {
#if defined(USE_X11)
// We can't do this with a root window listener because XI_HierarchyChanged
// messages don't have a target window.
- base::MessagePumpAuraX11::Current()->AddObserver(
+ base::MessagePumpX11::Current()->AddObserver(
&device_list_updater_aurax11_);
#endif
ui::Compositor::Initialize();
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/root_window_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698