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

Unified Diff: views/widget/native_widget_aura.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 | « views/widget/native_widget_aura.h ('k') | views/widget/native_widget_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_aura.cc
diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
index 48450b7b2624ad1cb43d75f0f7d20ef65a2eb4af..10aa921731a748c2997f60d75c451bc15b1764f7 100644
--- a/views/widget/native_widget_aura.cc
+++ b/views/widget/native_widget_aura.cc
@@ -354,13 +354,13 @@ void NativeWidgetAura::SetSize(const gfx::Size& size) {
window_->SetBounds(gfx::Rect(window_->bounds().origin(), size));
}
-void NativeWidgetAura::MoveAbove(gfx::NativeView native_view) {
+void NativeWidgetAura::StackAbove(gfx::NativeView native_view) {
if (window_->parent() && window_->parent() == native_view->parent())
- window_->parent()->MoveChildAbove(window_, native_view);
+ window_->parent()->StackChildAbove(window_, native_view);
}
-void NativeWidgetAura::MoveToTop() {
- window_->parent()->MoveChildToFront(window_);
+void NativeWidgetAura::StackAtTop() {
+ window_->parent()->StackChildAtTop(window_);
}
void NativeWidgetAura::SetShape(gfx::NativeRegion region) {
« no previous file with comments | « views/widget/native_widget_aura.h ('k') | views/widget/native_widget_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698