window_button_order_observer.h 644 B

12345678910111213141516171819202122
  1. // Copyright (c) 2013 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. #ifndef UI_LINUX_WINDOW_BUTTON_ORDER_OBSERVER_H_
  5. #define UI_LINUX_WINDOW_BUTTON_ORDER_OBSERVER_H_
  6. namespace ui {
  7. // Observer interface to receive the ordering of the min,max,close buttons.
  8. class WindowButtonOrderObserver {
  9. public:
  10. // Called on a system-wide configuration event.
  11. virtual void OnWindowButtonOrderingChange() = 0;
  12. protected:
  13. virtual ~WindowButtonOrderObserver() = default;
  14. };
  15. } // namespace ui
  16. #endif // UI_LINUX_WINDOW_BUTTON_ORDER_OBSERVER_H_