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

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

Issue 2597733002: [views] Makes DesktopWindowTreeHostX11::FrameTypeChanged use PostTask (Closed)
Patch Set: [views] Makes DesktopWindowTreeHostX11::FrameTypeChanged use PostTask (nits) Created 3 years, 12 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
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <X11/extensions/shape.h> 10 #include <X11/extensions/shape.h>
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 void SetWindowTransparency(); 264 void SetWindowTransparency();
265 265
266 // Relayout the widget's client and non-client views. 266 // Relayout the widget's client and non-client views.
267 void Relayout(); 267 void Relayout();
268 268
269 // ui::PlatformEventDispatcher: 269 // ui::PlatformEventDispatcher:
270 bool CanDispatchEvent(const ui::PlatformEvent& event) override; 270 bool CanDispatchEvent(const ui::PlatformEvent& event) override;
271 uint32_t DispatchEvent(const ui::PlatformEvent& event) override; 271 uint32_t DispatchEvent(const ui::PlatformEvent& event) override;
272 272
273 void DelayedResize(const gfx::Size& size_in_pixels); 273 void DelayedResize(const gfx::Size& size_in_pixels);
274 void DelayedChangeFrameType(Widget::FrameType new_type);
274 275
275 gfx::Rect GetWorkAreaBoundsInPixels() const; 276 gfx::Rect GetWorkAreaBoundsInPixels() const;
276 gfx::Rect ToDIPRect(const gfx::Rect& rect_in_pixels) const; 277 gfx::Rect ToDIPRect(const gfx::Rect& rect_in_pixels) const;
277 gfx::Rect ToPixelRect(const gfx::Rect& rect_in_dip) const; 278 gfx::Rect ToPixelRect(const gfx::Rect& rect_in_dip) const;
278 279
279 // Enables event listening after closing |dialog|. 280 // Enables event listening after closing |dialog|.
280 void EnableEventListening(); 281 void EnableEventListening();
281 282
282 // X11 things 283 // X11 things
283 // The display and the native X window hosting the root window. 284 // The display and the native X window hosting the root window.
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 432
432 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; 433 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
433 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_; 434 base::WeakPtrFactory<DesktopWindowTreeHostX11> weak_factory_;
434 435
435 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 436 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
436 }; 437 };
437 438
438 } // namespace views 439 } // namespace views
439 440
440 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 441 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698