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

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

Issue 13699002: add HideAndClose in preference to having Close sometimes magically defer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: non aura Created 7 years, 9 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_root_window_host_win.h
diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_win.h b/ui/views/widget/desktop_aura/desktop_root_window_host_win.h
index 9aa17c05dc6e39b6b7f355278997062c55581503..cb9188aa1fbc114ca48bda150844ff7e1299922e 100644
--- a/ui/views/widget/desktop_aura/desktop_root_window_host_win.h
+++ b/ui/views/widget/desktop_aura/desktop_root_window_host_win.h
@@ -50,6 +50,7 @@ class VIEWS_EXPORT DesktopRootWindowHostWin
virtual aura::RootWindow* Init(aura::Window* content_window,
const Widget::InitParams& params) OVERRIDE;
virtual void InitFocus(aura::Window* window) OVERRIDE;
+ virtual bool SetCloseOnHideCompletion() OVERRIDE;
virtual void Close() OVERRIDE;
virtual void CloseNow() OVERRIDE;
virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE;
@@ -247,11 +248,6 @@ class VIEWS_EXPORT DesktopRootWindowHostWin
// clipped.
gfx::Rect window_expansion_;
- // Whether the window close should be converted to a hide, and then actually
- // closed on the completion of the hide animation. This is cached because
- // the property is set on the contained window which has a shorter lifetime.
- bool should_animate_window_close_;
-
// When Close()d and animations are being applied to this window, the close
// of the window needs to be deferred to when the close animation is
// completed. This variable indicates that a Close was converted to a Hide,
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_root_window_host.h ('k') | ui/views/widget/desktop_aura/desktop_root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698