Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.h |
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.h b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..293b41d1b865a655c31048be24d1d89f77a03981 |
--- /dev/null |
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_WINDOW_H_ |
+#define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_WINDOW_H_ |
+ |
+#import <Cocoa/Cocoa.h> |
+ |
+// A custom window suitable for use as a constrained window. Specialized |
+// constrained windows should use this class instead of using NSWindow directly. |
+@interface ConstrainedWindowCustomWindow : NSWindow |
+ |
+// Initializes the window with the given content rect. |
+- (id)initWithContentRect:(NSRect)contentRect; |
+ |
+@end |
+ |
+#endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_WINDOW_H_ |