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

Unified Diff: ui/aura/window.h

Issue 11421006: Desktop aura: Break aura::Window::SetParent in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ash_unittests Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/test/test_windows.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 985391d8e5c408f012cca665f8f8c5da695319e5..3f2192f36c46ce9029628ed2b545e873f042dcf6 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -170,9 +170,12 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// Assigns a new external texture to the window's layer.
void SetExternalTexture(ui::Texture* texture);
- // Sets the parent window of the window. If NULL, the window is parented to
- // the root window.
- void SetParent(Window* parent);
+ // Places this window per |root_window|'s stacking client. The final location
+ // may be a RootWindow other than the one passed in. |root_window| may not be
+ // NULL. |bounds_in_screen| may be empty; it is more optional context that
+ // may, but isn't necessarily used.
+ void SetDefaultParentByRootWindow(RootWindow* root_window,
+ const gfx::Rect& bounds_in_screen);
// Stacks the specified child of this Window at the front of the z-order.
void StackChildAtTop(Window* child);
« no previous file with comments | « ui/aura/test/test_windows.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698