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

Unified Diff: ui/base/ime/character_composer.cc

Issue 23460052: Move XID, XDisplay, GetXDisplay and a few other types to ui/gfx/x/x11_types.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ui/base/ime/character_composer.cc
diff --git a/ui/base/ime/character_composer.cc b/ui/base/ime/character_composer.cc
index 27cdbece9c526d64dbd6d00bc3a60c2156cffcf8..6fff429a2ac9f7327bfdfae00939bd3b1f2eff48 100644
--- a/ui/base/ime/character_composer.cc
+++ b/ui/base/ime/character_composer.cc
@@ -15,8 +15,8 @@
// '#define GDK_KeyName 0xNNNN' macros and does not #include any Gtk headers.
#include "third_party/gtk+/gdk/gdkkeysyms.h"
#include "ui/base/glib/glib_integers.h"
-#include "ui/base/x/x11_util.h"
#include "ui/events/event_constants.h"
+#include "ui/gfx/x/x11_types.h"
// Note for Gtk removal: gtkimcontextsimpleseqs.h does not #include any Gtk
// headers and only contains one big guint16 array |gtk_compose_seqs_compact|
@@ -371,7 +371,7 @@ bool UTF32CharacterToUTF16(uint32 character, string16* output) {
// Converts a X keycode to a X keysym with no modifiers.
KeySym XKeyCodeToXKeySym(unsigned int keycode) {
- Display* display = ui::GetXDisplay();
+ XDisplay* display = gfx::GetXDisplay();
if (!display)
return NoSymbol;

Powered by Google App Engine
This is Rietveld 408576698