Make mac notifications less janky: group the animation together so that they slide in a group, and make the animation duration shorter.
Remove some unnecessary repositionings.
BUG=49245
TEST=notifications on mac
Review URL: http://codereview.chromium.org/3259009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58036 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/notifications/balloon_collection_impl.h b/chrome/browser/notifications/balloon_collection_impl.h
index d1307355..dc9975e 100644
--- a/chrome/browser/notifications/balloon_collection_impl.h
+++ b/chrome/browser/notifications/balloon_collection_impl.h
@@ -139,8 +139,12 @@
int count() const { return balloons_.size(); }
// Adjusts the positions of the balloons (e.g., when one is closed).
+ // Implemented by each platform for specific UI requirements.
void PositionBalloons(bool is_reposition);
+ // Cross-platform internal implementation for PositionBalloons.
+ void PositionBalloonsInternal(bool is_reposition);
+
#if defined(OS_MACOSX)
// Get the work area on Mac OS, without inverting the coordinates.
static gfx::Rect GetMacWorkArea();