// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_WIDGET_WINDOW_REORDERER_H_ #define UI_VIEWS_WIDGET_WINDOW_REORDERER_H_ #include <memory> #include "base/scoped_observation.h" #include "ui/aura/window_observer.h" #include "ui/views/view_observer.h" namespace aura { class Window; } namespace views { class View; // Class which reorders the widget's child windows which have an associated view // in the widget's view tree according the z-order of the views in the view // tree. Windows not associated to a view are stacked above windows with an // associated view. The child windows' layers are additionally reordered // according to the z-order of the associated views relative to views with // layers. class WindowReorderer : public aura::WindowObserver, public ViewObserver { … }; } // namespace views #endif // UI_VIEWS_WIDGET_WINDOW_REORDERER_H_