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

Unified Diff: base/message_pump_aurax11.h

Issue 10441028: aura/cros: Rename MessagePump{X => AuraX11} and move the atom cache into it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error in file added in the interim Created 8 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 | « base/message_loop.h ('k') | base/message_pump_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_aurax11.h
diff --git a/base/message_pump_x.h b/base/message_pump_aurax11.h
similarity index 83%
rename from base/message_pump_x.h
rename to base/message_pump_aurax11.h
index c9cfda865e4f9a28202ba82767ea863b954009b2..ba042753c6a0a04d0781ae66dcaa04fe50fffcea 100644
--- a/base/message_pump_x.h
+++ b/base/message_pump_aurax11.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_MESSAGE_PUMP_X_H
-#define BASE_MESSAGE_PUMP_X_H
+#ifndef BASE_MESSAGE_PUMP_AURAX11_H
+#define BASE_MESSAGE_PUMP_AURAX11_H
#include "base/memory/scoped_ptr.h"
#include "base/message_pump.h"
@@ -20,9 +20,9 @@ typedef struct _XDisplay Display;
namespace base {
// This class implements a message-pump for dispatching X events.
-class BASE_EXPORT MessagePumpX : public MessagePumpGlib {
+class BASE_EXPORT MessagePumpAuraX11 : public MessagePumpGlib {
public:
- MessagePumpX();
+ MessagePumpAuraX11();
// Returns default X Display.
static Display* GetDefaultXDisplay();
@@ -38,7 +38,7 @@ class BASE_EXPORT MessagePumpX : public MessagePumpGlib {
gboolean DispatchXEvents();
protected:
- virtual ~MessagePumpX();
+ virtual ~MessagePumpAuraX11();
private:
// Initializes the glib event source for X.
@@ -60,11 +60,11 @@ class BASE_EXPORT MessagePumpX : public MessagePumpGlib {
// The poll attached to |x_source_|.
scoped_ptr<GPollFD> x_poll_;
- DISALLOW_COPY_AND_ASSIGN(MessagePumpX);
+ DISALLOW_COPY_AND_ASSIGN(MessagePumpAuraX11);
};
-typedef MessagePumpX MessagePumpForUI;
+typedef MessagePumpAuraX11 MessagePumpForUI;
} // namespace base
-#endif // BASE_MESSAGE_PUMP_X_H
+#endif // BASE_MESSAGE_PUMP_AURAX11_H
« no previous file with comments | « base/message_loop.h ('k') | base/message_pump_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698