summaryrefslogtreecommitdiffstats
path: root/ui/base/cocoa/focus_window_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/cocoa/focus_window_set.h')
-rw-r--r--ui/base/cocoa/focus_window_set.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/ui/base/cocoa/focus_window_set.h b/ui/base/cocoa/focus_window_set.h
new file mode 100644
index 0000000..f414c8a
--- /dev/null
+++ b/ui/base/cocoa/focus_window_set.h
@@ -0,0 +1,21 @@
+// 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.
+UI_EXPORT void FocusWindowSet(std::set<gfx::NativeWindow> windows);
+
+} // namespace ui
+
+#endif // UI_BASE_COCOA_FOCUS_WINDOW_SET_H_