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

Side by Side Diff: ui/platform_window/x11/x11_window.h

Issue 1139673003: Make Mandoline shut down cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crash in surfaces if surfaceimpl outlives the app, and a double delete in browser Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_PLATFORM_WINDOW_X11_X11_WINDOW_H_ 5 #ifndef UI_PLATFORM_WINDOW_X11_X11_WINDOW_H_
6 #define UI_PLATFORM_WINDOW_X11_X11_WINDOW_H_ 6 #define UI_PLATFORM_WINDOW_X11_X11_WINDOW_H_
7 7
8 #include "ui/events/platform/platform_event_dispatcher.h" 8 #include "ui/events/platform/platform_event_dispatcher.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 #include "ui/gfx/x/x11_atom_cache.h" 10 #include "ui/gfx/x/x11_atom_cache.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 XID xroot_window_; 55 XID xroot_window_;
56 X11AtomCache atom_cache_; 56 X11AtomCache atom_cache_;
57 57
58 // Setting the bounds is an asynchronous operation in X11. |requested_bounds_| 58 // Setting the bounds is an asynchronous operation in X11. |requested_bounds_|
59 // is the bounds requested using XConfigureWindow, and |confirmed_bounds_| is 59 // is the bounds requested using XConfigureWindow, and |confirmed_bounds_| is
60 // the bounds the X11 server has set on the window. 60 // the bounds the X11 server has set on the window.
61 gfx::Rect requested_bounds_; 61 gfx::Rect requested_bounds_;
62 gfx::Rect confirmed_bounds_; 62 gfx::Rect confirmed_bounds_;
63 63
64 bool window_mapped_; 64 bool window_mapped_;
65 bool destroyed_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(X11Window); 67 DISALLOW_COPY_AND_ASSIGN(X11Window);
67 }; 68 };
68 69
69 } // namespace ui 70 } // namespace ui
70 71
71 #endif // UI_PLATFORM_WINDOW_X11_X11_WINDOW_H_ 72 #endif // UI_PLATFORM_WINDOW_X11_X11_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698