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

Unified Diff: ui/aura_shell/modal_container_layout_manager.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/window_unittest.cc ('k') | ui/aura_shell/shadow_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/modal_container_layout_manager.cc
diff --git a/ui/aura_shell/modal_container_layout_manager.cc b/ui/aura_shell/modal_container_layout_manager.cc
index 4a42db2c1564aa00cdcc86f8b1296a3aa679d69d..a806947f2bb5a1b6a759f7d81238fb100eabf2b4 100644
--- a/ui/aura_shell/modal_container_layout_manager.cc
+++ b/ui/aura_shell/modal_container_layout_manager.cc
@@ -135,7 +135,7 @@ bool ModalContainerLayoutManager::CanWindowReceiveEvents(
void ModalContainerLayoutManager::AddModalWindow(aura::Window* window) {
modal_windows_.push_back(window);
CreateModalScreen();
- container_->MoveChildToFront(window);
+ container_->StackChildAtTop(window);
window->Activate();
}
@@ -172,7 +172,7 @@ void ModalContainerLayoutManager::CreateModalScreen() {
modal_screen_->GetNativeView()->layer()->GetAnimator());
modal_screen_->Show();
modal_screen_->GetNativeView()->layer()->SetOpacity(0.5f);
- container_->MoveChildToFront(modal_screen_->GetNativeView());
+ container_->StackChildAtTop(modal_screen_->GetNativeView());
}
void ModalContainerLayoutManager::DestroyModalScreen() {
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/aura_shell/shadow_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698