Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / constrained_window / constrained_window_sheet.h
blob45495564d8e55d7fbe4e56f0dd0cc0c2d22e6ad3
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_H_
6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_H_
8 #import <Cocoa/Cocoa.h>
10 // Protocol for a sheet to be showing using |ConstrainedWindowSheetController|.
11 @protocol ConstrainedWindowSheet<NSObject>
13 - (void)showSheetForWindow:(NSWindow*)window;
15 - (void)closeSheetWithAnimation:(BOOL)withAnimation;
17 - (void)hideSheet;
19 - (void)unhideSheet;
21 - (void)pulseSheet;
23 - (void)makeSheetKeyAndOrderFront;
25 - (void)updateSheetPosition;
27 @property(readonly, nonatomic) NSWindow* sheetWindow;
29 @end
31 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_H_