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

Unified Diff: chrome/browser/ui/views/notifications/balloon_view.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/hung_renderer_view.cc ('k') | ui/aura/desktop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/notifications/balloon_view.cc
diff --git a/chrome/browser/ui/views/notifications/balloon_view.cc b/chrome/browser/ui/views/notifications/balloon_view.cc
index 24cfb81b27de0ba888a3b27f7573818b453b0f7d..614a29f50afbfe5682d6f8a2d526d64ed3c3e78d 100644
--- a/chrome/browser/ui/views/notifications/balloon_view.cc
+++ b/chrome/browser/ui/views/notifications/balloon_view.cc
@@ -190,7 +190,7 @@ void BalloonViewImpl::SizeContentsWindow() {
gfx::Rect contents_rect = GetContentsRectangle();
html_container_->SetBounds(contents_rect);
- html_container_->MoveAboveWidget(frame_container_);
+ html_container_->StackAboveWidget(frame_container_);
gfx::Path path;
GetContentsMask(contents_rect, &path);
@@ -348,9 +348,9 @@ void BalloonViewImpl::Show(Balloon* balloon) {
params.bounds = balloon_rect;
frame_container_->Init(params);
frame_container_->SetContentsView(this);
- frame_container_->MoveAboveWidget(html_container_);
+ frame_container_->StackAboveWidget(html_container_);
- // SetAlwaysOnTop should be called after MoveAboveWidget because otherwise
+ // SetAlwaysOnTop should be called after StackAboveWidget because otherwise
// the top-most flag will be removed.
html_container_->SetAlwaysOnTop(true);
frame_container_->SetAlwaysOnTop(true);
« no previous file with comments | « chrome/browser/ui/views/hung_renderer_view.cc ('k') | ui/aura/desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698