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

Unified Diff: ash/system/tray/system_tray.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
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 736e6e68a0034e5b2e292c36609059f27fb4339b..3fd3dbdfae1775b67329d9f78c481b58a6e48cec 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -350,7 +350,7 @@ void SystemTray::RemoveBubble(SystemTrayBubble* bubble) {
// No need to show the launcher if the mouse isn't over the status area
// anymore.
aura::RootWindow* root = GetWidget()->GetNativeView()->GetRootWindow();
- should_show_launcher_ = GetWidget()->GetWindowScreenBounds().Contains(
+ should_show_launcher_ = GetWidget()->GetWindowBoundsInScreen().Contains(
root->last_mouse_location());
if (!should_show_launcher_)
Shell::GetInstance()->shelf()->UpdateAutoHideState();
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698