Add ICU message format support
[chromium-blink-merge.git] / ui / views / linux_ui / window_button_order_observer.h
blob96b7cb8290f5a9b652f5b2e24ffee7765e6f3c26
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_
8 #include <vector>
10 #include "ui/views/window/frame_buttons.h"
12 namespace views {
14 // Observer interface to receive the ordering of the min,max,close buttons.
15 class WindowButtonOrderObserver {
16 public:
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;
23 protected:
24 virtual ~WindowButtonOrderObserver() {}
27 } // namespace views
29 #endif // UI_VIEWS_LINUX_UI_WINDOW_BUTTON_ORDER_OBSERVER_H_