Index: ui/base/cocoa/window_size_constants.h |
diff --git a/ui/base/cocoa/window_size_constants.h b/ui/base/cocoa/window_size_constants.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f333365743f35b5b11b89b0ba6991c3ea6d0f20 |
--- /dev/null |
+++ b/ui/base/cocoa/window_size_constants.h |
@@ -0,0 +1,20 @@ |
+// 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 UI_BASE_COCOA_WINDOW_SIZE_CONSTANTS_H_ |
+#define UI_BASE_COCOA_WINDOW_SIZE_CONSTANTS_H_ |
+#pragma once |
+ |
+#include "ui/base/ui_export.h" |
+ |
+#import <Foundation/Foundation.h> |
+ |
+namespace ui { |
+ |
+// It is not valid to make a zero-sized window. Use this constant instead. |
+UI_EXPORT extern const NSRect kWindowSizeDeterminedLater; |
+ |
+} // namespace ui |
+ |
+#endif // UI_BASE_COCOA_WINDOW_SIZE_CONSTANTS_H_ |