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

Unified Diff: ash/wm/workspace/multi_window_resize_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
Index: ash/wm/workspace/multi_window_resize_controller.cc
diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc
index 61d140d08d6a92637ec3756953e6e87534581ca6..a94da55e2f04f09c14f817439960cec1d86f9849 100644
--- a/ash/wm/workspace/multi_window_resize_controller.cc
+++ b/ash/wm/workspace/multi_window_resize_controller.cc
@@ -427,7 +427,7 @@ void MultiWindowResizeController::CompleteResize(int event_flags) {
// Mouse may still be over resizer, if not hide.
gfx::Point screen_loc = gfx::Screen::GetCursorScreenPoint();
- if (!resize_widget_->GetWindowScreenBounds().Contains(screen_loc))
+ if (!resize_widget_->GetWindowBoundsInScreen().Contains(screen_loc))
Hide();
}
@@ -466,7 +466,7 @@ bool MultiWindowResizeController::IsOverWindows(
if (window_resizer_.get())
return true; // Ignore hides while actively resizing.
- if (resize_widget_->GetWindowScreenBounds().Contains(screen_location))
+ if (resize_widget_->GetWindowBoundsInScreen().Contains(screen_location))
return true;
int hit1, hit2;
« no previous file with comments | « ash/wm/workspace/maximized_workspace.cc ('k') | ash/wm/workspace/multi_window_resize_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698