Index: ui/views/cocoa/bridged_native_widget.h |
diff --git a/ui/views/cocoa/bridged_native_widget.h b/ui/views/cocoa/bridged_native_widget.h |
index e3bec4aece8e07d77c9f3ab4d282bf20f3c4a909..149c5377d0be80bcdd347bcd7720f1ffbd2ef28b 100644 |
--- a/ui/views/cocoa/bridged_native_widget.h |
+++ b/ui/views/cocoa/bridged_native_widget.h |
@@ -50,6 +50,11 @@ class VIEWS_EXPORT BridgedNativeWidget : public ui::LayerDelegate, |
// the window above its parent if it has one. |
}; |
+ // Return the size that |window| will take for the given client area |size|, |
+ // based on its current style mask. |
+ static gfx::Size GetWindowSizeForClientSize(NSWindow* window, |
+ const gfx::Size& size); |
+ |
// Creates one side of the bridge. |parent| must not be NULL. |
explicit BridgedNativeWidget(NativeWidgetMac* parent); |
~BridgedNativeWidget() override; |