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

Unified Diff: ui/platform_window/x11/x11_window.h

Issue 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/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_;

Powered by Google App Engine
This is Rietveld 408576698