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

Unified Diff: views/widget/native_widget_aura.cc

Issue 8477019: Adds Window::MoveChildToFront, with surrounding changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup 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 cb4eebafab360b2eb12f222ff2297c5b1f98a8f6..f5c74dc69390a98797e0b7c47b8c7c7270a74ac9 100644
--- a/views/widget/native_widget_aura.cc
+++ b/views/widget/native_widget_aura.cc
@@ -335,20 +335,13 @@ void NativeWidgetAura::SetSize(const gfx::Size& size) {
window_->SetBounds(gfx::Rect(window_->bounds().origin(), size));
}
-void NativeWidgetAura::SetBoundsConstrained(const gfx::Rect& bounds,
- Widget* other_widget) {
- // http://crbug.com/102580
- NOTIMPLEMENTED();
-}
-
void NativeWidgetAura::MoveAbove(gfx::NativeView native_view) {
- // http://crbug.com/102578
- NOTIMPLEMENTED();
+ if (window_->parent() && window_->parent() == native_view->parent())
+ window_->parent()->MoveChildAbove(window_, native_view);
}
void NativeWidgetAura::MoveToTop() {
- // http://crbug.com/102578
- NOTIMPLEMENTED();
+ window_->parent()->MoveChildToFront(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