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

Side by Side Diff: ui/aura/window.h

Issue 15114002: Reorder the NativeViews attached to a view via kViewHostKey according to the position of the view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698