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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 543663003: Fix maximize on some window managers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
7 7
8 #include <X11/extensions/shape.h> 8 #include <X11/extensions/shape.h>
9 #include <X11/Xlib.h> 9 #include <X11/Xlib.h>
10 10
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 // Whether |xwindow_| was requested to be fullscreen via SetFullscreen(). 280 // Whether |xwindow_| was requested to be fullscreen via SetFullscreen().
281 bool is_fullscreen_; 281 bool is_fullscreen_;
282 282
283 // True if the window should stay on top of most other windows. 283 // True if the window should stay on top of most other windows.
284 bool is_always_on_top_; 284 bool is_always_on_top_;
285 285
286 // True if the window has title-bar / borders provided by the window manager. 286 // True if the window has title-bar / borders provided by the window manager.
287 bool use_native_frame_; 287 bool use_native_frame_;
288 288
289 // True if a Maximize() call should be done after mapping the window.
290 bool should_maximize_after_map_;
291
289 // Whether we used an ARGB visual for our window. 292 // Whether we used an ARGB visual for our window.
290 bool use_argb_visual_; 293 bool use_argb_visual_;
291 294
292 DesktopDragDropClientAuraX11* drag_drop_client_; 295 DesktopDragDropClientAuraX11* drag_drop_client_;
293 296
294 scoped_ptr<ui::EventHandler> x11_non_client_event_filter_; 297 scoped_ptr<ui::EventHandler> x11_non_client_event_filter_;
295 scoped_ptr<X11DesktopWindowMoveClient> x11_window_move_client_; 298 scoped_ptr<X11DesktopWindowMoveClient> x11_window_move_client_;
296 299
297 // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura 300 // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura
298 // instead of providing this route back to Widget. 301 // instead of providing this route back to Widget.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 bool urgency_hint_set_; 338 bool urgency_hint_set_;
336 339
337 base::CancelableCallback<void()> delayed_resize_task_; 340 base::CancelableCallback<void()> delayed_resize_task_;
338 341
339 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 342 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
340 }; 343 };
341 344
342 } // namespace views 345 } // namespace views
343 346
344 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 347 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698