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

Unified Diff: ui/gfx/compositor/layer.h

Issue 8620002: s/Move/Stack/ in names of stacking-related methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a test Created 9 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_shell/toplevel_window_event_filter.cc ('k') | ui/gfx/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/layer.h
diff --git a/ui/gfx/compositor/layer.h b/ui/gfx/compositor/layer.h
index 1dbf3f9f39e738c1b58915ae6c7d906be3073dff..c4fec5a9add8b8243fa62405a94fe4a81827cad9 100644
--- a/ui/gfx/compositor/layer.h
+++ b/ui/gfx/compositor/layer.h
@@ -69,12 +69,12 @@ class COMPOSITOR_EXPORT Layer :
// Removes a Layer from this Layer.
void Remove(Layer* child);
- // Moves a child to the end of the child list.
- void MoveToFront(Layer* child);
+ // Stacks |child| above all other children.
+ void StackAtTop(Layer* child);
- // Moves |child| to be above |other|. Does nothing if |other| is already above
- // |child|.
- void MoveAbove(Layer* child, Layer* other);
+ // Stacks |child| above |other|, both of which must be children of this layer.
+ // Does nothing if |other| is already above |child|.
+ void StackAbove(Layer* child, Layer* other);
// Returns the child Layers.
const std::vector<Layer*>& children() const { return children_; }
« no previous file with comments | « ui/aura_shell/toplevel_window_event_filter.cc ('k') | ui/gfx/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698