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

Unified Diff: chrome/browser/chromeos/status/data_promo_notification.cc

Issue 10795013: Rename bounds accessors to be intuitive and consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
Index: chrome/browser/chromeos/status/data_promo_notification.cc
diff --git a/chrome/browser/chromeos/status/data_promo_notification.cc b/chrome/browser/chromeos/status/data_promo_notification.cc
index 8be6d77ea90c39b0e0adf44ed0ff3a9527eba0f0..a4dfed1eb3fddfd196d2aa56727851922506d43c 100644
--- a/chrome/browser/chromeos/status/data_promo_notification.cc
+++ b/chrome/browser/chromeos/status/data_promo_notification.cc
@@ -160,7 +160,7 @@ void DataPromoNotification::ShowOptionalMobileDataPromoNotification(
return;
}
- gfx::Rect button_bounds = host->GetScreenBounds();
+ gfx::Rect button_bounds = host->GetBoundsInScreen();
// StatusArea button Y position is usually -1, fix it so that
// Contains() method for screen bounds works correctly.
button_bounds.set_y(button_bounds.y() + 1);
« no previous file with comments | « chrome/browser/chromeos/options/network_config_view.cc ('k') | chrome/browser/ui/omnibox/omnibox_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698