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

Unified Diff: chrome/browser/gtk/notifications/balloon_view_gtk.cc

Issue 2915003: position the balloons after closing in a way that will keep the next one's cl... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | « chrome/browser/cocoa/notifications/balloon_controller.mm ('k') | chrome/browser/notifications/balloon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/notifications/balloon_view_gtk.cc
===================================================================
--- chrome/browser/gtk/notifications/balloon_view_gtk.cc (revision 52083)
+++ chrome/browser/gtk/notifications/balloon_view_gtk.cc (working copy)
@@ -160,8 +160,8 @@
gtk_window_get_position(GTK_WINDOW(frame_container_), &start_x, &start_y);
gtk_window_get_size(GTK_WINDOW(frame_container_), &start_w, &start_h);
- int end_x = balloon_->position().x();
- int end_y = balloon_->position().y();
+ int end_x = balloon_->GetPosition().x();
+ int end_y = balloon_->GetPosition().y();
int end_w = GetDesiredTotalWidth();
int end_h = GetDesiredTotalHeight();
« no previous file with comments | « chrome/browser/cocoa/notifications/balloon_controller.mm ('k') | chrome/browser/notifications/balloon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698