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

Unified Diff: ui/aura/window_tree_host_x11.h

Issue 2914103002: Remove usages of XInternAtom (Closed)
Patch Set: Address sadrul and sergeyu comments Created 3 years, 7 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/test/ui_controls_factory_aurax11.cc ('k') | ui/aura/window_tree_host_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host_x11.h
diff --git a/ui/aura/window_tree_host_x11.h b/ui/aura/window_tree_host_x11.h
index e3ede0c9c9b1f64aef6bfa760781125399ec4cbe..f9e176500da90b2cebc84bef5ab227d46da28275 100644
--- a/ui/aura/window_tree_host_x11.h
+++ b/ui/aura/window_tree_host_x11.h
@@ -15,7 +15,6 @@
#include "ui/events/platform/platform_event_dispatcher.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/rect.h"
-#include "ui/gfx/x/x11_atom_cache.h"
// X forward decls to avoid including Xlib.h in a header file.
typedef struct _XDisplay XDisplay;
@@ -67,7 +66,6 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost,
::Window x_root_window() { return x_root_window_; }
XDisplay* xdisplay() { return xdisplay_; }
const gfx::Rect& bounds() const { return bounds_; }
- ui::X11AtomCache* atom_cache() { return &atom_cache_; }
private:
// Dispatches XI2 events. Note that some events targetted for the X root
@@ -98,8 +96,6 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost,
// The bounds of |xwindow_|.
gfx::Rect bounds_;
- ui::X11AtomCache atom_cache_;
-
DISALLOW_COPY_AND_ASSIGN(WindowTreeHostX11);
};
« no previous file with comments | « ui/aura/test/ui_controls_factory_aurax11.cc ('k') | ui/aura/window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698