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

Unified Diff: chrome/browser/views/notifications/balloon_view.h

Issue 363003: Implement cancel() API on a Notification object so that script can cancel or ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/views/notifications/balloon_view.h
===================================================================
--- chrome/browser/views/notifications/balloon_view.h (revision 30967)
+++ chrome/browser/views/notifications/balloon_view.h (working copy)
@@ -45,7 +45,7 @@
// BalloonView interface.
void Show(Balloon* balloon);
void RepositionToBalloon();
- void Close();
+ void Close(bool by_user);
private:
// Overridden from views::View.
@@ -72,7 +72,7 @@
void SizeContentsWindow();
// Do the delayed close work.
- void DelayedClose();
+ void DelayedClose(bool by_user);
// The height of the balloon's shelf.
// The shelf is where is close button is located.
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/views/notifications/balloon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698