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

Unified Diff: ui/gfx/x/x11_types.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/gfx/x/x11_types.cc
diff --git a/ui/gfx/x/x11_types.cc b/ui/gfx/x/x11_types.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c47c852527be5a952b282f80f3e393e410987e8c
--- /dev/null
+++ b/ui/gfx/x/x11_types.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/gfx/x/x11_types.h"
+
+#include "base/message_loop/message_loop.h"
+
+namespace gfx {
+
+XDisplay* GetXDisplay() {
+ return base::MessagePumpForUI::GetDefaultXDisplay();
+}
+
+} // namespace gfx
+
« ui/base/x/x11_util.h ('K') | « ui/gfx/x/x11_types.h ('k') | ui/surface/transport_dib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698