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

Unified Diff: ash/wm/stacking_controller.h

Issue 10795027: Move a window if the sceren bounds being set is in other display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adjust for win_aura 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.cc ('k') | ash/wm/stacking_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/stacking_controller.h
diff --git a/ash/wm/stacking_controller.h b/ash/wm/stacking_controller.h
index cfff3864f142dda6011ef56b17f901501e04f1c5..ae90555d2ba275164c5778cb47965e4e0ba65bb2 100644
--- a/ash/wm/stacking_controller.h
+++ b/ash/wm/stacking_controller.h
@@ -10,6 +10,10 @@
#include "base/memory/scoped_ptr.h"
#include "ui/aura/client/stacking_client.h"
+namespace aura{
+class RootWindow;
+}
+
namespace ash {
namespace internal {
@@ -30,13 +34,12 @@ class StackingController : public aura::client::StackingClient {
// normal modal container.
// Otherwise those that originate from LockScreen container and above are
// placed in the screen lock modal container.
- aura::Window* GetSystemModalContainer(aura::Window* window,
- const gfx::Rect& bounds) const;
+ aura::Window* GetSystemModalContainer(aura::RootWindow* root,
+ aura::Window* window) const;
- // Returns the AlwaysOnTopController of the root window that matches
- // |bounds|.
+ // Returns the AlwaysOnTopController of the |root_window|.
internal::AlwaysOnTopController* GetAlwaysOnTopController(
- const gfx::Rect& bounds);
+ aura::RootWindow* root_window);
DISALLOW_COPY_AND_ASSIGN(StackingController);
};
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/stacking_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698