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.
5 #ifndef UI_VIEWS_LINUX_UI_WINDOW_BUTTON_ORDER_OBSERVER_H_
6 #define UI_VIEWS_LINUX_UI_WINDOW_BUTTON_ORDER_OBSERVER_H_
10 #include "ui/views/window/frame_buttons.h"
14 // Observer interface to receive the ordering of the min,max,close buttons.
15 class WindowButtonOrderObserver
{
17 // Called when first added to the LinuxUI class, or on a system-wide
18 // configuration event.
19 virtual void OnWindowButtonOrderingChange(
20 const std::vector
<views::FrameButton
>& leading_buttons
,
21 const std::vector
<views::FrameButton
>& trailing_buttons
) = 0;
24 virtual ~WindowButtonOrderObserver() {}
29 #endif // UI_VIEWS_LINUX_UI_WINDOW_BUTTON_ORDER_OBSERVER_H_