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

Unified Diff: ui/aura/desktop.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 | « chrome/browser/ui/views/notifications/balloon_view.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop.cc
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
index 74b5e4e127ddfcca1dd080d211cd78c3d054aaed..a32ed1dff10095772bc9f11d92b26a7539c5ad79 100644
--- a/ui/aura/desktop.cc
+++ b/ui/aura/desktop.cc
@@ -355,7 +355,7 @@ void Desktop::SetActiveWindow(Window* window, Window* to_focus) {
if (old_active && old_active->delegate())
old_active->delegate()->OnLostActive();
if (active_window_) {
- active_window_->parent()->MoveChildToFront(active_window_);
+ active_window_->parent()->StackChildAtTop(active_window_);
if (active_window_->delegate())
active_window_->delegate()->OnActivated();
active_window_->GetFocusManager()->SetFocusedWindow(
« no previous file with comments | « chrome/browser/ui/views/notifications/balloon_view.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698