summaryrefslogtreecommitdiff
path: root/chromium/ui/base/cocoa/focus_window_set.h
blob: d43ff2acf97e54efc5b85fccf839d79efe50ec4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_BASE_COCOA_FOCUS_WINDOW_SET_H_
#define UI_BASE_COCOA_FOCUS_WINDOW_SET_H_

#include <set>

#include "ui/base/ui_export.h"
#include "ui/gfx/native_widget_types.h"

namespace ui {

// Brings a group of windows to the front without changing their order, and
// makes the frontmost one key and main. If none are visible, the frontmost
// miniaturized window is deminiaturized.
UI_EXPORT void FocusWindowSet(const std::set<gfx::NativeWindow>& windows,
                              bool allow_workspace_switch);

}  // namespace ui

#endif  // UI_BASE_COCOA_FOCUS_WINDOW_SET_H_