// Copyright 2014 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_WINDOW_WINDOW_BUTTON_ORDER_PROVIDER_H_ #define UI_VIEWS_WINDOW_WINDOW_BUTTON_ORDER_PROVIDER_H_ #include <vector> #include "ui/views/views_export.h" #include "ui/views/window/frame_buttons.h" namespace views { // Stores the ordering of window control buttons. Provides a default ordering // of |kMinimize|, |FrameButton::kMaximize|, |FrameButton::kClose|, where all // controls are on the trailing end of a window. // // On Linux users can provide configuration files to control the ordering. This // configuration is checked and overrides the defaults. class VIEWS_EXPORT WindowButtonOrderProvider { … }; } // namespace views #endif // UI_VIEWS_WINDOW_WINDOW_BUTTON_ORDER_PROVIDER_H_