Home | History | Annotate | Download | only in cocoa
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef UI_BASE_COCOA_FOCUS_WINDOW_SET_H_
      6 #define UI_BASE_COCOA_FOCUS_WINDOW_SET_H_
      7 
      8 #include <set>
      9 
     10 #include "ui/base/ui_export.h"
     11 #include "ui/gfx/native_widget_types.h"
     12 
     13 namespace ui {
     14 
     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
     17 // miniaturized window is deminiaturized.
     18 UI_EXPORT void FocusWindowSet(const std::set<gfx::NativeWindow>& windows);
     19 
     20 }  // namespace ui
     21 
     22 #endif  // UI_BASE_COCOA_FOCUS_WINDOW_SET_H_
     23