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

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

Issue 2665193002: Fix aura_unittests for Ozone X11. (Closed)
Patch Set: Pass initial bounds into X11Window/X11WindowOzone. Created 3 years, 11 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_base.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_base.h
diff --git a/ui/platform_window/x11/x11_window_base.h b/ui/platform_window/x11/x11_window_base.h
index aefbbcc1949b5f20b12b00c60c6461c5f81af7de..9e7e17be1a735afad4d1634ea3e3abb9e95e8bcd 100644
--- a/ui/platform_window/x11/x11_window_base.h
+++ b/ui/platform_window/x11/x11_window_base.h
@@ -24,7 +24,7 @@ class XScopedEventSelector;
// are platform specific are left unimplemented.
class X11_WINDOW_EXPORT X11WindowBase : public PlatformWindow {
public:
- explicit X11WindowBase(PlatformWindowDelegate* delegate);
+ X11WindowBase(PlatformWindowDelegate* delegate, const gfx::Rect& bounds);
~X11WindowBase() override;
// Creates new underlying XWindow. Does not map XWindow.
@@ -71,11 +71,8 @@ class X11_WINDOW_EXPORT X11WindowBase : public PlatformWindow {
base::string16 window_title_;
- // Setting the bounds is an asynchronous operation in X11. |requested_bounds_|
- // is the bounds requested using XConfigureWindow, and |confirmed_bounds_| is
- // the bounds the X11 server has set on the window.
- gfx::Rect requested_bounds_;
- gfx::Rect confirmed_bounds_;
+ // The bounds of |xwindow_|.
+ gfx::Rect bounds_;
bool window_mapped_ = false;
« no previous file with comments | « ui/platform_window/x11/x11_window.cc ('k') | ui/platform_window/x11/x11_window_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698