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

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

Issue 2741533002: Fix AshWindowTreeHost shutdown for Ozone X11. (Closed)
Patch Set: Add to other PlatformWindow implementations. Created 3 years, 9 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/platform_window/x11/x11_window.cc ('k') | ui/platform_window/x11/x11_window_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/x11/x11_window_ozone.h
diff --git a/ui/platform_window/x11/x11_window_ozone.h b/ui/platform_window/x11/x11_window_ozone.h
index 9f49af4b2276f01df3b204040143d043848d9ede..4516be26232db99d4af1aee5775c18d4101fdb36 100644
--- a/ui/platform_window/x11/x11_window_ozone.h
+++ b/ui/platform_window/x11/x11_window_ozone.h
@@ -20,13 +20,13 @@ class X11_WINDOW_EXPORT X11WindowOzone : public X11WindowBase,
public PlatformEventDispatcher,
public XEventDispatcher {
public:
- X11WindowOzone(X11EventSourceLibevent* event_source,
- X11WindowManagerOzone* window_manager,
+ X11WindowOzone(X11WindowManagerOzone* window_manager,
PlatformWindowDelegate* delegate,
const gfx::Rect& bounds);
~X11WindowOzone() override;
// PlatformWindow:
+ void PrepareForShutdown() override;
void SetCapture() override;
void ReleaseCapture() override;
void SetCursor(PlatformCursor cursor) override;
@@ -39,7 +39,6 @@ class X11_WINDOW_EXPORT X11WindowOzone : public X11WindowBase,
bool CanDispatchEvent(const PlatformEvent& event) override;
uint32_t DispatchEvent(const PlatformEvent& event) override;
- X11EventSourceLibevent* event_source_;
X11WindowManagerOzone* window_manager_;
DISALLOW_COPY_AND_ASSIGN(X11WindowOzone);
« no previous file with comments | « ui/platform_window/x11/x11_window.cc ('k') | ui/platform_window/x11/x11_window_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698