diff options
Diffstat (limited to 'views/layout_manager.cc')
-rw-r--r-- | views/layout_manager.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/views/layout_manager.cc b/views/layout_manager.cc new file mode 100644 index 0000000..800dbc2 --- /dev/null +++ b/views/layout_manager.cc @@ -0,0 +1,15 @@ +// Copyright (c) 2006-2008 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. + +#include "views/layout_manager.h" + +#include "views/view.h" + +namespace views { + +int LayoutManager::GetPreferredHeightForWidth(View* host, int width) { + return GetPreferredSize(host).height(); +} + +} // namespace views |