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

Unified Diff: ui/aura/client/screen_position_client.h

Issue 10836065: Improve WorkspaceWindowResizer::CompleteDrag() so that the function moves the window to a root windo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final rebase Created 8 years, 4 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/wm/workspace/workspace_window_resizer_unittest.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/screen_position_client.h
diff --git a/ui/aura/client/screen_position_client.h b/ui/aura/client/screen_position_client.h
index 3384c4474cb1c2aecdc134f06a4e021de5d99ea5..17e73d88b459f3dfe9ffa5bf7ee2b3884f438074 100644
--- a/ui/aura/client/screen_position_client.h
+++ b/ui/aura/client/screen_position_client.h
@@ -9,6 +9,7 @@
#include "ui/aura/window.h"
namespace gfx {
+class Display;
class Rect;
}
@@ -32,7 +33,9 @@ class AURA_EXPORT ScreenPositionClient {
gfx::Point* point) = 0;
// Sets the bounds of the window. The implementation is responsible
// for finding out and translating the right coordinates for the |window|.
- virtual void SetBounds(Window* window, const gfx::Rect& bounds) = 0;
+ virtual void SetBounds(Window* window,
+ const gfx::Rect& bounds,
+ const gfx::Display& display) = 0;
virtual ~ScreenPositionClient() {}
};
« no previous file with comments | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698