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

Unified Diff: ui/aura/test/ui_controls_factory_aurax11.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/root_window_host_x11.cc ('k') | ui/base/clipboard/clipboard_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/ui_controls_factory_aurax11.cc
diff --git a/ui/aura/test/ui_controls_factory_aurax11.cc b/ui/aura/test/ui_controls_factory_aurax11.cc
index 28e1f0fc530b0ffd13f66ff9c93e93c42eda49f5..5dc8577aaa70c3946bcb55b893b7e74191d00b1e 100644
--- a/ui/aura/test/ui_controls_factory_aurax11.cc
+++ b/ui/aura/test/ui_controls_factory_aurax11.cc
@@ -11,7 +11,7 @@
#endif
#include "base/logging.h"
-#include "base/message_loop/message_pump_aurax11.h"
+#include "base/message_loop/message_pump_x11.h"
#include "ui/aura/client/screen_position_client.h"
#include "ui/aura/env.h"
#include "ui/aura/root_window.h"
@@ -73,7 +73,7 @@ class EventWaiter : public base::MessageLoopForUI::Observer {
// Returns atom that indidates that the XEvent is marker event.
Atom MarkerEventAtom() {
- return XInternAtom(base::MessagePumpAuraX11::GetDefaultXDisplay(),
+ return XInternAtom(base::MessagePumpX11::GetDefaultXDisplay(),
"marker_event",
False);
}
@@ -117,7 +117,7 @@ class UIControlsX11 : public UIControlsAura {
if (alt)
SetKeycodeAndSendThenMask(&xevent, XK_Alt_L, Mod1Mask);
xevent.xkey.keycode =
- XKeysymToKeycode(base::MessagePumpAuraX11::GetDefaultXDisplay(),
+ XKeysymToKeycode(base::MessagePumpX11::GetDefaultXDisplay(),
ui::XKeysymForWindowsKeyCode(key, shift));
root_window_->PostNativeEvent(&xevent);
@@ -227,7 +227,7 @@ class UIControlsX11 : public UIControlsAura {
KeySym keysym,
unsigned int mask) {
xevent->xkey.keycode =
- XKeysymToKeycode(base::MessagePumpAuraX11::GetDefaultXDisplay(),
+ XKeysymToKeycode(base::MessagePumpX11::GetDefaultXDisplay(),
keysym);
root_window_->PostNativeEvent(xevent);
xevent->xkey.state |= mask;
@@ -238,7 +238,7 @@ class UIControlsX11 : public UIControlsAura {
KeySym keysym) {
xevent->xkey.state ^= mask;
xevent->xkey.keycode =
- XKeysymToKeycode(base::MessagePumpAuraX11::GetDefaultXDisplay(),
+ XKeysymToKeycode(base::MessagePumpX11::GetDefaultXDisplay(),
keysym);
root_window_->PostNativeEvent(xevent);
}
« no previous file with comments | « ui/aura/root_window_host_x11.cc ('k') | ui/base/clipboard/clipboard_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698