diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-08 15:51:47 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-08 15:51:47 +0000 |
commit | 62dd7ea6f2317cf4dc388bc6f8f71c4162386ca0 (patch) | |
tree | eb85d78c357c8eb27d4818353ab123c970292a89 /ui/aura/window.h | |
parent | 8ddeef5ccac30b41975fedd60a24f414325326a0 (diff) | |
download | chromium_src-62dd7ea6f2317cf4dc388bc6f8f71c4162386ca0.zip chromium_src-62dd7ea6f2317cf4dc388bc6f8f71c4162386ca0.tar.gz chromium_src-62dd7ea6f2317cf4dc388bc6f8f71c4162386ca0.tar.bz2 |
Adds Window::MoveChildToFront, with surrounding changes.
BUG=102580 102578
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/8477019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r-- | ui/aura/window.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h index df3e1aa..7c49d77 100644 --- a/ui/aura/window.h +++ b/ui/aura/window.h @@ -150,6 +150,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate { // Move the specified child of this Window to the front of the z-order. void MoveChildToFront(Window* child); + // Moves |other| to be above |child|. Does nothing if |child| is already above + // |other|. + void MoveChildAbove(Window* child, Window* other); + // Returns true if this window can be activated. bool CanActivate() const; |