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

Unified Diff: chrome/browser/ui/cocoa/notifications/balloon_controller.h

Issue 6327017: Fix crash when notification disappears under popup menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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: chrome/browser/ui/cocoa/notifications/balloon_controller.h
diff --git a/chrome/browser/ui/cocoa/notifications/balloon_controller.h b/chrome/browser/ui/cocoa/notifications/balloon_controller.h
index fadd35a5e01ea7249c18ddb779c774aa53caf993..e346f42f5807d10a90f333e964f66aa0c9a393d1 100644
--- a/chrome/browser/ui/cocoa/notifications/balloon_controller.h
+++ b/chrome/browser/ui/cocoa/notifications/balloon_controller.h
@@ -52,6 +52,10 @@ class NotificationOptionsMenuModel;
// The host for the renderer of the HTML contents.
scoped_ptr<BalloonViewHost> htmlContents_;
+
+ // Variables to delay close requested by script while showing modal menu.
+ BOOL optionMenuIsActive_;
+ BOOL delayedClose_;
}
// Initialize with a balloon object containing the notification data.

Powered by Google App Engine
This is Rietveld 408576698