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

Unified Diff: chrome/browser/chromeos/notifications/notification_panel.h

Issue 6247002: chromeos: Run beforeunload handlers when closing panels. (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/chromeos/notifications/notification_panel.h
diff --git a/chrome/browser/chromeos/notifications/notification_panel.h b/chrome/browser/chromeos/notifications/notification_panel.h
index 96739bcee9d31bf323cbc545a5390f9482820184..8ab5f88b4e6e44f063b69c5c566814c2b7ee1763 100644
--- a/chrome/browser/chromeos/notifications/notification_panel.h
+++ b/chrome/browser/chromeos/notifications/notification_panel.h
@@ -97,9 +97,10 @@ class NotificationPanel : public PanelController::Delegate,
const gfx::Size& size);
virtual void SetActiveView(BalloonViewImpl* view);
- // PanelController overrides.
+ // PanelController::Delegate overrides.
virtual string16 GetPanelTitle();
virtual SkBitmap GetPanelIcon();
+ virtual bool CanClosePanel();
virtual void ClosePanel();
// NotificationObserver overrides:

Powered by Google App Engine
This is Rietveld 408576698