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 #ifndef UI_AURA_WINDOW_H_ | 5 #ifndef UI_AURA_WINDOW_H_ |
6 #define UI_AURA_WINDOW_H_ | 6 #define UI_AURA_WINDOW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 const gfx::Rect& bounds_in_screen); | 168 const gfx::Rect& bounds_in_screen); |
169 | 169 |
170 // Stacks the specified child of this Window at the front of the z-order. | 170 // Stacks the specified child of this Window at the front of the z-order. |
171 void StackChildAtTop(Window* child); | 171 void StackChildAtTop(Window* child); |
172 | 172 |
173 // Stacks |child| above |target|. Does nothing if |child| is already above | 173 // Stacks |child| above |target|. Does nothing if |child| is already above |
174 // |target|. Does not stack on top of windows with NULL layer delegates, | 174 // |target|. Does not stack on top of windows with NULL layer delegates, |
175 // see WindowTest.StackingMadrigal for details. | 175 // see WindowTest.StackingMadrigal for details. |
176 void StackChildAbove(Window* child, Window* target); | 176 void StackChildAbove(Window* child, Window* target); |
177 | 177 |
| 178 // Stacks the specified child of this window at the bottom of the z-order. |
| 179 void StackChildAtBottom(Window* child); |
| 180 |
178 // Stacks |child| below |target|. Does nothing if |child| is already below | 181 // Stacks |child| below |target|. Does nothing if |child| is already below |
179 // |target|. | 182 // |target|. |
180 void StackChildBelow(Window* child, Window* target); | 183 void StackChildBelow(Window* child, Window* target); |
181 | 184 |
182 // Tree operations. | 185 // Tree operations. |
183 void AddChild(Window* child); | 186 void AddChild(Window* child); |
184 void RemoveChild(Window* child); | 187 void RemoveChild(Window* child); |
185 | 188 |
186 const Windows& children() const { return children_; } | 189 const Windows& children() const { return children_; } |
187 | 190 |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 }; | 519 }; |
517 | 520 |
518 std::map<const void*, Value> prop_map_; | 521 std::map<const void*, Value> prop_map_; |
519 | 522 |
520 DISALLOW_COPY_AND_ASSIGN(Window); | 523 DISALLOW_COPY_AND_ASSIGN(Window); |
521 }; | 524 }; |
522 | 525 |
523 } // namespace aura | 526 } // namespace aura |
524 | 527 |
525 #endif // UI_AURA_WINDOW_H_ | 528 #endif // UI_AURA_WINDOW_H_ |
OLD | NEW |