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

Unified Diff: ui/views/widget/native_widget_mac.h

Issue 2393843002: MacViews: Implement CloseNow() as just -[NSWindow close]. (Closed)
Patch Set: Selfnits Created 4 years, 2 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/native_widget_mac.h
diff --git a/ui/views/widget/native_widget_mac.h b/ui/views/widget/native_widget_mac.h
index 59867c02b5435ce425dba2d8c6031f52aa645e11..ca5b40306e4f47172d047d0a15b10a60a9d71326 100644
--- a/ui/views/widget/native_widget_mac.h
+++ b/ui/views/widget/native_widget_mac.h
@@ -39,7 +39,7 @@ class VIEWS_EXPORT NativeWidgetMac : public internal::NativeWidgetPrivate {
// Deletes |bridge_| and informs |delegate_| that the native widget is
// destroyed. This is usually called from the NSWindowDelegate.
karandeepb 2016/10/18 10:00:29 nit: Maybe change the comment to- "This is usually
tapted 2016/10/19 06:20:25 Done. (the sheetDidEnd: delegate method invokes th
- void OnWindowWillClose();
+ void OnWindowDestroyed();
// Returns the vertical position that sheets should be anchored, in pixels
// from the bottom of the window.

Powered by Google App Engine
This is Rietveld 408576698