Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / constrained_window / constrained_window_custom_sheet.h
blobde54a819080f039256f38b71368c7e96dc8a58de
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_CUSTOM_SHEET_H_
6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_SHEET_H_
8 #import <Cocoa/Cocoa.h>
10 #import "base/mac/scoped_nsobject.h"
11 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet.h"
13 // Represents a custom sheet. The sheet's window is shown without using the
14 // system |beginSheet:...| API.
15 @interface CustomConstrainedWindowSheet : NSObject<ConstrainedWindowSheet> {
16 @protected
17 base::scoped_nsobject<NSWindow> customWindow_;
20 - (id)initWithCustomWindow:(NSWindow*)customWindow;
22 @end
24 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_SHEET_H_