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

Unified Diff: chrome/browser/notifications/balloon.h

Issue 11189002: Makes notifications animate from the bottom of the screen (as was (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/balloon.h
diff --git a/chrome/browser/notifications/balloon.h b/chrome/browser/notifications/balloon.h
index 70fc30abb650b0fdb584bbfdff2d86a7034b4ed0..7847538bad68a66ca3503be7efb98f916dfd45ed 100644
--- a/chrome/browser/notifications/balloon.h
+++ b/chrome/browser/notifications/balloon.h
@@ -42,6 +42,9 @@ class BalloonView {
// The host for the view's contents. May be NULL if an implementation does
// not have a host associated with it (i.e. does not do html rendering).
virtual BalloonHost* GetHost() const = 0;
+
+ // Returns the horizontal margin the content is inset by.
+ static int GetHorizontalMargin();
};
// Represents a Notification on the screen.
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698