diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-29 23:25:38 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-29 23:25:38 +0000 |
commit | 1a24da5da18bac1e97ede472e0061568c4b76f26 (patch) | |
tree | 68f27982963c4c71ff73ad2f735e257ffb9d4212 /ui/aura/ui_controls_x11.cc | |
parent | f192729f8de098c357422f74fe6c0a530a9e90db (diff) | |
download | chromium_src-1a24da5da18bac1e97ede472e0061568c4b76f26.zip chromium_src-1a24da5da18bac1e97ede472e0061568c4b76f26.tar.gz chromium_src-1a24da5da18bac1e97ede472e0061568c4b76f26.tar.bz2 |
aura/cros: Rename MessagePump{X => AuraX11}.
So rename the MessagePumpX, which is an aurax11 only class now to MessagePumpAuraX11 (which also simplifies the gyp files).
BUG=129075
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10441028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139421 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/ui_controls_x11.cc')
-rw-r--r-- | ui/aura/ui_controls_x11.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/aura/ui_controls_x11.cc b/ui/aura/ui_controls_x11.cc index f3074aa..625e7a6 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); } |