Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(907)

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.h

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698