OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_WIN
DOW_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_WIN
DOW_H_ |
| 7 |
| 8 #import <Cocoa/Cocoa.h> |
| 9 |
| 10 // A custom window suitable for use as a constrained window. Specialized |
| 11 // constrained windows should use this class instead of using NSWindow directly. |
| 12 @interface ConstrainedWindowCustomWindow : NSWindow |
| 13 |
| 14 // Initializes the window with the given content rect. |
| 15 - (id)initWithContentRect:(NSRect)contentRect; |
| 16 |
| 17 @end |
| 18 |
| 19 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_
WINDOW_H_ |
OLD | NEW |