Index: ui/platform_window/x11/x11_window.h |
diff --git a/ui/platform_window/x11/x11_window.h b/ui/platform_window/x11/x11_window.h |
index eb759121260de89ee648883985f66232558e9c17..46644e5843d764a66ec5021fda99e34843645e7a 100644 |
--- a/ui/platform_window/x11/x11_window.h |
+++ b/ui/platform_window/x11/x11_window.h |
@@ -13,6 +13,7 @@ |
#include "ui/platform_window/x11/x11_window_export.h" |
typedef struct _XDisplay XDisplay; |
+typedef union _XEvent XEvent; |
typedef unsigned long XID; |
namespace ui { |
@@ -23,10 +24,7 @@ class X11_WINDOW_EXPORT X11Window : public PlatformWindow, |
explicit X11Window(PlatformWindowDelegate* delegate); |
~X11Window() override; |
- private: |
- void Destroy(); |
- |
- void ProcessXInput2Event(XEvent* xevent); |
+ void Create(); |
// PlatformWindow: |
void Show() override; |
@@ -43,10 +41,15 @@ class X11_WINDOW_EXPORT X11Window : public PlatformWindow, |
void SetCursor(PlatformCursor cursor) override; |
void MoveCursorTo(const gfx::Point& location) override; |
+ private: |
+ void Destroy(); |
+ |
// PlatformEventDispatcher: |
bool CanDispatchEvent(const PlatformEvent& event) override; |
uint32_t DispatchEvent(const PlatformEvent& event) override; |
+ void DispatchXEvent(XEvent* xev); |
+ |
PlatformWindowDelegate* delegate_; |
XDisplay* xdisplay_; |