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

Unified Diff: ash/wm/workspace/workspace_window_resizer.cc

Issue 10827022: Fix coordinates in tab detach &drag code and multi window resizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reverted bad test 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/workspace_window_resizer.cc
diff --git a/ash/wm/workspace/workspace_window_resizer.cc b/ash/wm/workspace/workspace_window_resizer.cc
index 5912280b3491ebbf4f79dff06f99bef7f03ae5fd..e7bb78c9989e389641166fe53d5f6266677a9eb8 100644
--- a/ash/wm/workspace/workspace_window_resizer.cc
+++ b/ash/wm/workspace/workspace_window_resizer.cc
@@ -52,10 +52,10 @@ WorkspaceWindowResizer::~WorkspaceWindowResizer() {
// static
WorkspaceWindowResizer* WorkspaceWindowResizer::Create(
aura::Window* window,
- const gfx::Point& location,
+ const gfx::Point& location_in_parent,
sky 2012/07/25 23:51:41 rename argument in header to match.
oshima 2012/07/25 23:55:14 Done.
int window_component,
const std::vector<aura::Window*>& attached_windows) {
- Details details(window, location, window_component);
+ Details details(window, location_in_parent, window_component);
return details.is_resizable ?
new WorkspaceWindowResizer(details, attached_windows) : NULL;
}

Powered by Google App Engine
This is Rietveld 408576698