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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 542533002: [Aura] Fix window resize handling on fullscreen event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cancel resize event on fullscreen event 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index 1c08221c752c442746c1c4a68095263c42827af8..c47640bb78ab51c688bd2f4d5a4fa55555c3c963 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -237,7 +237,7 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
- void DelayedResize(const gfx::Size& size);
+ void DelayedResize();
base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
@@ -327,6 +327,7 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
static std::list<XID>* open_windows_;
base::string16 window_title_;
+ gfx::Size window_size_;
// Whether we currently are flashing our frame. This feature is implemented
// by setting the urgency hint with the window manager, which can draw

Powered by Google App Engine
This is Rietveld 408576698