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

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

Issue 36473003: Rename StackingClient -> WindowTreeClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: done. Created 7 years, 1 month 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 | « ui/aura/test/test_window_tree_client.cc ('k') | 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords, 152 void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords,
153 const gfx::Display& dst_display); 153 const gfx::Display& dst_display);
154 154
155 // Returns the target bounds of the window. If the window's layer is 155 // Returns the target bounds of the window. If the window's layer is
156 // not animating, it simply returns the current bounds. 156 // not animating, it simply returns the current bounds.
157 gfx::Rect GetTargetBounds() const; 157 gfx::Rect GetTargetBounds() const;
158 158
159 // Marks the a portion of window as needing to be painted. 159 // Marks the a portion of window as needing to be painted.
160 void SchedulePaintInRect(const gfx::Rect& rect); 160 void SchedulePaintInRect(const gfx::Rect& rect);
161 161
162 // Places this window per |root_window|'s stacking client. The final location
163 // may be a RootWindow other than the one passed in. |root_window| may not be
164 // NULL. |bounds_in_screen| may be empty; it is more optional context that
165 // may, but isn't necessarily used.
166 void SetDefaultParentByRootWindow(RootWindow* root_window,
167 const gfx::Rect& bounds_in_screen);
168
169 // Stacks the specified child of this Window at the front of the z-order. 162 // Stacks the specified child of this Window at the front of the z-order.
170 void StackChildAtTop(Window* child); 163 void StackChildAtTop(Window* child);
171 164
172 // Stacks |child| above |target|. Does nothing if |child| is already above 165 // Stacks |child| above |target|. Does nothing if |child| is already above
173 // |target|. Does not stack on top of windows with NULL layer delegates, 166 // |target|. Does not stack on top of windows with NULL layer delegates,
174 // see WindowTest.StackingMadrigal for details. 167 // see WindowTest.StackingMadrigal for details.
175 void StackChildAbove(Window* child, Window* target); 168 void StackChildAbove(Window* child, Window* target);
176 169
177 // Stacks the specified child of this window at the bottom of the z-order. 170 // Stacks the specified child of this window at the bottom of the z-order.
178 void StackChildAtBottom(Window* child); 171 void StackChildAtBottom(Window* child);
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 }; 527 };
535 528
536 std::map<const void*, Value> prop_map_; 529 std::map<const void*, Value> prop_map_;
537 530
538 DISALLOW_COPY_AND_ASSIGN(Window); 531 DISALLOW_COPY_AND_ASSIGN(Window);
539 }; 532 };
540 533
541 } // namespace aura 534 } // namespace aura
542 535
543 #endif // UI_AURA_WINDOW_H_ 536 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/test/test_window_tree_client.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698