summaryrefslogtreecommitdiffstats
path: root/views/window/window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/window.cc')
-rw-r--r--views/window/window.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/window/window.cc b/views/window/window.cc
index 5531cff..5fbb222 100644
--- a/views/window/window.cc
+++ b/views/window/window.cc
@@ -173,6 +173,10 @@ void Window::FrameTypeChanged() {
////////////////////////////////////////////////////////////////////////////////
// Window, internal::NativeWindowDelegate implementation:
+gfx::Size Window::GetPreferredSize() const {
+ return non_client_view_->GetPreferredSize();
+}
+
void Window::OnWindowDestroying() {
non_client_view_->WindowClosing();
window_delegate_->WindowClosing();