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

Unified Diff: ui/aura_shell/shadow_controller.cc

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/modal_container_layout_manager.cc ('k') | ui/aura_shell/toplevel_window_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/shadow_controller.cc
diff --git a/ui/aura_shell/shadow_controller.cc b/ui/aura_shell/shadow_controller.cc
index e2f2d8064a54ae88a3d048e6d6025366f33e97dc..478b689486ba7ba77189e1bd32797240f382587f 100644
--- a/ui/aura_shell/shadow_controller.cc
+++ b/ui/aura_shell/shadow_controller.cc
@@ -132,11 +132,11 @@ void ShadowController::StackShadowBelowWindow(Shadow* shadow,
ui::Layer* parent_layer = window->parent()->layer();
DCHECK_EQ(shadow->layer()->parent(), parent_layer);
- // TODO(derat): Add a MoveBelow() method and use that instead (although we
+ // TODO(derat): Add a StackBelow() method and use that instead (although we
// then run the risk of other layers getting stacked between a window and its
// shadow).
- parent_layer->MoveAbove(shadow->layer(), window->layer());
- parent_layer->MoveAbove(window->layer(), shadow->layer());
+ parent_layer->StackAbove(shadow->layer(), window->layer());
+ parent_layer->StackAbove(window->layer(), shadow->layer());
}
} // namespace internal
« no previous file with comments | « ui/aura_shell/modal_container_layout_manager.cc ('k') | ui/aura_shell/toplevel_window_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698