OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/views/window/native_frame_view.h" | 5 #include "ui/views/window/native_frame_view.h" |
6 | 6 |
| 7 #include "build/build_config.h" |
7 #include "ui/views/widget/native_widget.h" | 8 #include "ui/views/widget/native_widget.h" |
8 #include "ui/views/widget/widget.h" | 9 #include "ui/views/widget/widget.h" |
9 | 10 |
10 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
11 #include "ui/views/win/hwnd_util.h" | 12 #include "ui/views/win/hwnd_util.h" |
12 #endif | 13 #endif |
13 | 14 |
14 namespace views { | 15 namespace views { |
15 | 16 |
16 //////////////////////////////////////////////////////////////////////////////// | 17 //////////////////////////////////////////////////////////////////////////////// |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 95 |
95 gfx::Size NativeFrameView::GetMaximumSize() const { | 96 gfx::Size NativeFrameView::GetMaximumSize() const { |
96 return frame_->client_view()->GetMaximumSize(); | 97 return frame_->client_view()->GetMaximumSize(); |
97 } | 98 } |
98 | 99 |
99 const char* NativeFrameView::GetClassName() const { | 100 const char* NativeFrameView::GetClassName() const { |
100 return kViewClassName; | 101 return kViewClassName; |
101 } | 102 } |
102 | 103 |
103 } // namespace views | 104 } // namespace views |
OLD | NEW |