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

Unified Diff: ui/aura/ui_controls_x11.cc

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 | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/x11_atom_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/ui_controls_x11.cc
diff --git a/ui/aura/ui_controls_x11.cc b/ui/aura/ui_controls_x11.cc
index f3074aa0c0d1dd7ae8fce1ced4b04c2e1315dc92..625e7a6351280555afb2a1ad59b5f2a259469d14 100644
--- a/ui/aura/ui_controls_x11.cc
+++ b/ui/aura/ui_controls_x11.cc
@@ -11,7 +11,7 @@
#endif
#include "base/logging.h"
-#include "base/message_pump_x.h"
+#include "base/message_pump_aurax11.h"
#include "ui/aura/root_window.h"
#include "ui/aura/ui_controls_aura.h"
#include "ui/base/keycodes/keyboard_code_conversion_x.h"
@@ -65,7 +65,7 @@ int g_current_y = -1000;
// Returns atom that indidates that the XEvent is marker event.
Atom MarkerEventAtom() {
- return XInternAtom(base::MessagePumpX::GetDefaultXDisplay(),
+ return XInternAtom(base::MessagePumpAuraX11::GetDefaultXDisplay(),
"marker_event",
False);
}
@@ -108,7 +108,7 @@ class UIControlsX11 : public ui_controls::UIControlsAura {
if (alt)
SetKeycodeAndSendThenMask(&xevent, XK_Alt_L, Mod1Mask);
xevent.xkey.keycode =
- XKeysymToKeycode(base::MessagePumpX::GetDefaultXDisplay(),
+ XKeysymToKeycode(base::MessagePumpAuraX11::GetDefaultXDisplay(),
ui::XKeysymForWindowsKeyCode(key, shift));
root_window_->PostNativeEvent(&xevent);
@@ -209,7 +209,7 @@ class UIControlsX11 : public ui_controls::UIControlsAura {
KeySym keysym,
unsigned int mask) {
xevent->xkey.keycode =
- XKeysymToKeycode(base::MessagePumpX::GetDefaultXDisplay(),
+ XKeysymToKeycode(base::MessagePumpAuraX11::GetDefaultXDisplay(),
keysym);
root_window_->PostNativeEvent(xevent);
xevent->xkey.state |= mask;
@@ -220,7 +220,7 @@ class UIControlsX11 : public ui_controls::UIControlsAura {
KeySym keysym) {
xevent->xkey.state ^= mask;
xevent->xkey.keycode =
- XKeysymToKeycode(base::MessagePumpX::GetDefaultXDisplay(),
+ XKeysymToKeycode(base::MessagePumpAuraX11::GetDefaultXDisplay(),
keysym);
root_window_->PostNativeEvent(xevent);
}
« no previous file with comments | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/x11_atom_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698