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

Unified Diff: ui/views/widget/desktop_aura/x11_desktop_handler.h

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/views/widget/desktop_aura/x11_desktop_handler.h
diff --git a/ui/views/widget/desktop_aura/x11_desktop_handler.h b/ui/views/widget/desktop_aura/x11_desktop_handler.h
index 8cda9eeaaabc30477556d23291ede53a07ca2aff..e84b6d44a935afc455976f4192d9660c8ea8fc22 100644
--- a/ui/views/widget/desktop_aura/x11_desktop_handler.h
+++ b/ui/views/widget/desktop_aura/x11_desktop_handler.h
@@ -12,6 +12,7 @@
#include "base/message_loop/message_loop.h"
#include "ui/aura/env_observer.h"
#include "ui/base/x/x11_atom_cache.h"
+#include "ui/gfx/x/x11_types.h"
#include "ui/views/views_export.h"
template <typename T> struct DefaultSingletonTraits;
@@ -48,7 +49,7 @@ class VIEWS_EXPORT X11DesktopHandler : public base::MessageLoop::Dispatcher,
void OnActiveWindowChanged(::Window window);
// The display and the native X window hosting the root window.
- Display* xdisplay_;
+ XDisplay* xdisplay_;
// The native root window.
::Window x_root_window_;

Powered by Google App Engine
This is Rietveld 408576698