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

Unified Diff: ash/wm/app_list_controller.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/tooltips/tooltip_controller.cc ('k') | ash/wm/base_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/app_list_controller.cc
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc
index 53290de72b7f6d1c3e29a8408ff3549077c02d2d..1fa0ac5bc0b337b0836295f87f9feb993f123f81 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -202,7 +202,7 @@ void AppListController::ScheduleAnimation() {
void AppListController::ProcessLocatedEvent(const aura::LocatedEvent& event) {
if (view_ && is_visible_) {
views::Widget* widget = view_->GetWidget();
- if (!widget->GetNativeView()->GetRootWindowBounds().Contains(
+ if (!widget->GetNativeView()->GetBoundsInRootWindow().Contains(
event.root_location())) {
SetVisible(false);
}
« no previous file with comments | « ash/tooltips/tooltip_controller.cc ('k') | ash/wm/base_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698