Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/aura/window.h" | 5 #include "ash/ash_export.h" |
| 6 | |
| 7 namespace gfx { | |
| 8 class Rect; | |
| 9 } | |
| 10 namespace aura { | |
| 11 class RootWindow; | |
| 12 class Window; | |
| 13 } | |
| 6 | 14 |
| 7 namespace ash { | 15 namespace ash { |
| 8 namespace internal { | 16 namespace internal { |
| 9 | 17 |
| 10 // Check if after removal or hide of the given |removed_window| an automated | 18 // Check if after removal or hide of the given |removed_window| an automated |
| 11 // desktop location management can be performed and rearrange accordingly. | 19 // desktop location management can be performed and rearrange accordingly. |
| 12 void RearrangeVisibleWindowOnHideOrRemove(const aura::Window* removed_window); | 20 void RearrangeVisibleWindowOnHideOrRemove(const aura::Window* removed_window); |
| 13 | 21 |
| 14 // Check if after insertion or showing of the given |added_window| an automated | 22 // Check if after insertion or showing of the given |added_window| an automated |
| 15 // desktop location management can be performed and rearrange accordingly. | 23 // desktop location management can be performed and rearrange accordingly. |
| 16 void RearrangeVisibleWindowOnShow(aura::Window* added_window); | 24 void RearrangeVisibleWindowOnShow(aura::Window* added_window); |
| 17 | 25 |
| 18 } // namespace internal | 26 } // namespace internal |
| 27 | |
| 28 // Returns the top window used for automated windows location | |
| 29 // management. This is temporarily made public and exported until we | |
|
Mr4D (OOO till 08-26)
2013/08/28 21:58:15
Did you put in here two spaces on purpose?
oshima
2013/08/29 09:18:04
fixed
| |
| 30 // move the initial bounds logic in window_sizer_ash.cc into ash. | |
|
Mr4D (OOO till 08-26)
2013/08/28 21:58:15
It might be better to add here a TODO.
oshima
2013/08/29 09:18:04
Done.
| |
| 31 ASH_EXPORT aura::Window* GetTopWindowForNewWindow( | |
| 32 const aura::RootWindow* root_window); | |
| 33 | |
| 19 } // namespace ash | 34 } // namespace ash |
| 20 | |
| OLD | NEW |