1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_OBSERVER_H_ 6 #define ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_OBSERVER_H_ 7 8 #include "athena/athena_export.h" 9 10 namespace aura { 11 class Window; 12 } 13 14 namespace athena { 15 16 // An observer to window list changes like e.g. stacking order has changed. 17 class ATHENA_EXPORT WindowListProviderObserver { 18 public: ~WindowListProviderObserver()19 virtual ~WindowListProviderObserver() {} 20 21 // The Window stacking has changed. 22 virtual void OnWindowStackingChanged() = 0; 23 24 // The specified Window has been removed from the list. At the time of 25 // removal, |removed_window| was at the |index| position in the window list. 26 virtual void OnWindowRemoved(aura::Window* removed_window, 27 int index) = 0; 28 }; 29 30 } // namespace athena 31 32 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_OBSERVER_H_ 33