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

Side by Side Diff: ui/views/cocoa/views_nswindow_close_animator.h

Issue 2061693003: MacViews: Suppress visibility changes during an asynchronous close. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Neater, but Linux, Windows disagree on WidgetTest.DesktopNativeWidgetVisibilityAfterCloseTest Created 4 years, 4 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_COCOA_VIEWS_NSWINDOW_CLOSE_ANIMATOR_H_
6 #define UI_VIEWS_COCOA_VIEWS_NSWINDOW_CLOSE_ANIMATOR_H_
7
8 @class NSWindow;
9
10 namespace views {
11
12 // Spawns a self-owning animation delegate that starts a hide animation, then
13 // calls -[NSWindow close] when the animation ends, releasing itself.
14 void CloseNativeWindowWithAnimation(NSWindow* window);
15
16 } // namespace views
17
18 #endif // UI_VIEWS_COCOA_VIEWS_NSWINDOW_CLOSE_ANIMATOR_H_
OLDNEW
« no previous file with comments | « ui/views/cocoa/bridged_native_widget.mm ('k') | ui/views/cocoa/views_nswindow_close_animator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698