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

Unified Diff: trunk/src/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 16256004: Revert 203217 "Revert 202987 "Reorder the NativeViews attached t..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months 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
Index: trunk/src/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
===================================================================
--- trunk/src/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (revision 203401)
+++ trunk/src/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (working copy)
@@ -41,6 +41,7 @@
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_aura_utils.h"
#include "ui/views/widget/widget_delegate.h"
+#include "ui/views/widget/window_reorderer.h"
DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(VIEWS_EXPORT,
views::DesktopNativeWidgetAura*);
@@ -274,6 +275,9 @@
shadow_controller_.reset(
new corewm::ShadowController(
aura::client::GetActivationClient(root_window_.get())));
+
+ window_reorderer_.reset(new WindowReorderer(window_,
+ GetWidget()->GetRootView()));
}
NonClientFrameView* DesktopNativeWidgetAura::CreateNonClientFrameView() {
@@ -320,6 +324,10 @@
return window_->layer();
}
+void DesktopNativeWidgetAura::ReorderNativeViews() {
+ window_reorderer_->ReorderChildWindows();
+}
+
void DesktopNativeWidgetAura::ViewRemoved(View* view) {
}
« no previous file with comments | « trunk/src/ui/views/widget/desktop_aura/desktop_native_widget_aura.h ('k') | trunk/src/ui/views/widget/native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698