This is the 1st CL to add Virtual Screen Coordinates to ash.
- Add flag to enable virtual screen coordinate system
- Changed StackingController to use the bounds to pick the matching root window when the virtual screen coordinates is enabled.
- Added Shell::GetRootWindowMatching. Updated Shell::GetRootWindowAt to use VSC when enabled.
BUG=123160
TEST=ExtendedDesktopTest.CycleWindow is changed to use virtual screen coordinate. ExtendedDesktopTest.{GetRootRootAt|GetRootWindowMatching)
Review URL: https://chromiumcodereview.appspot.com/10637007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143770 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc
index da57329a..050acb0 100644
--- a/ui/aura/demo/demo_main.cc
+++ b/ui/aura/demo/demo_main.cc
@@ -94,7 +94,8 @@
}
// Overridden from aura::client::StackingClient:
- virtual aura::Window* GetDefaultParent(aura::Window* window) OVERRIDE {
+ virtual aura::Window* GetDefaultParent(aura::Window* window,
+ const gfx::Rect& bounds) OVERRIDE {
return root_window_;
}