| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_BASE_COCOA_FOCUS_WINDOW_SET_H_ | 5 #ifndef UI_BASE_COCOA_FOCUS_WINDOW_SET_H_ |
| 6 #define UI_BASE_COCOA_FOCUS_WINDOW_SET_H_ | 6 #define UI_BASE_COCOA_FOCUS_WINDOW_SET_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_export.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
| 12 | 12 |
| 13 namespace ui { | 13 namespace ui { |
| 14 | 14 |
| 15 // Brings a group of windows to the front without changing their order, and | 15 // Brings a group of windows to the front without changing their order, and |
| 16 // makes the frontmost one key and main. If none are visible, the frontmost | 16 // makes the frontmost one key and main. If none are visible, the frontmost |
| 17 // miniaturized window is deminiaturized. | 17 // miniaturized window is deminiaturized. |
| 18 UI_EXPORT void FocusWindowSet(const std::set<gfx::NativeWindow>& windows); | 18 UI_EXPORT void FocusWindowSet(const std::set<gfx::NativeWindow>& windows, |
| 19 bool allow_workspace_switch); |
| 19 | 20 |
| 20 } // namespace ui | 21 } // namespace ui |
| 21 | 22 |
| 22 #endif // UI_BASE_COCOA_FOCUS_WINDOW_SET_H_ | 23 #endif // UI_BASE_COCOA_FOCUS_WINDOW_SET_H_ |
| OLD | NEW |