Commit 9f8cf386 authored by tfarina@chromium.org's avatar tfarina@chromium.org

views: Move box_layout.[cc,h] into the new layout directory.

The other layout files under views directory will be moved later.

BUG=None
TEST=trybots

Review URL: http://codereview.chromium.org/6380010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72243 0039d316-1c4b-4281-b951-d872f2087c98
parent 6c3298ea
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
#include "grit/theme_resources.h" #include "grit/theme_resources.h"
#include "ui/base/l10n/l10n_util.h" #include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h" #include "ui/base/resource/resource_bundle.h"
#include "views/box_layout.h"
#include "views/controls/button/native_button.h" #include "views/controls/button/native_button.h"
#include "views/controls/image_view.h" #include "views/controls/image_view.h"
#include "views/controls/label.h" #include "views/controls/label.h"
#include "views/controls/separator.h" #include "views/controls/separator.h"
#include "views/layout/box_layout.h"
#include "views/standard_layout.h" #include "views/standard_layout.h"
#include "views/widget/root_view.h" #include "views/widget/root_view.h"
#include "views/widget/widget_win.h" #include "views/widget/widget_win.h"
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
#include "grit/generated_resources.h" #include "grit/generated_resources.h"
#include "grit/theme_resources.h" #include "grit/theme_resources.h"
#include "ui/base/resource/resource_bundle.h" #include "ui/base/resource/resource_bundle.h"
#include "views/box_layout.h"
#include "views/controls/image_view.h" #include "views/controls/image_view.h"
#include "views/controls/label.h" #include "views/controls/label.h"
#include "views/layout/box_layout.h"
#include "views/standard_layout.h" #include "views/standard_layout.h"
// Spacing between the banner frame and its contents. // Spacing between the banner frame and its contents.
......
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
#pragma once #pragma once
#include "views/background.h" #include "views/background.h"
#include "views/box_layout.h"
#include "views/controls/button/text_button.h" #include "views/controls/button/text_button.h"
#include "views/examples/example_base.h" #include "views/examples/example_base.h"
#include "views/layout/box_layout.h"
#include "views/view.h" #include "views/view.h"
#include "views/widget/root_view.h" #include "views/widget/root_view.h"
#include "views/widget/widget.h" #include "views/widget/widget.h"
......
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "views/box_layout.h" #include "views/layout/box_layout.h"
namespace views { namespace views {
......
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef VIEWS_BOX_LAYOUT_H_ #ifndef VIEWS_LAYOUT_BOX_LAYOUT_H_
#define VIEWS_BOX_LAYOUT_H_ #define VIEWS_LAYOUT_BOX_LAYOUT_H_
#pragma once #pragma once
#include "base/basictypes.h" #include "base/basictypes.h"
...@@ -52,4 +52,4 @@ class BoxLayout : public LayoutManager { ...@@ -52,4 +52,4 @@ class BoxLayout : public LayoutManager {
} // namespace views } // namespace views
#endif // VIEWS_BOX_LAYOUT_H_ #endif // VIEWS_LAYOUT_BOX_LAYOUT_H_
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
#include "views/box_layout.h" #include "views/layout/box_layout.h"
#include "views/view.h" #include "views/view.h"
class StaticSizedView : public views::View { class StaticSizedView : public views::View {
......
...@@ -82,8 +82,6 @@ ...@@ -82,8 +82,6 @@
'background.h', 'background.h',
'border.cc', 'border.cc',
'border.h', 'border.h',
'box_layout.h',
'box_layout.cc',
'controls/button/button.cc', 'controls/button/button.cc',
'controls/button/button.h', 'controls/button/button.h',
'controls/button/button_dropdown.cc', 'controls/button/button_dropdown.cc',
...@@ -285,6 +283,8 @@ ...@@ -285,6 +283,8 @@
'grid_layout.h', 'grid_layout.h',
'layout_manager.cc', 'layout_manager.cc',
'layout_manager.h', 'layout_manager.h',
'layout/box_layout.cc',
'layout/box_layout.h',
'mouse_watcher.cc', 'mouse_watcher.cc',
'mouse_watcher.h', 'mouse_watcher.h',
'painter.cc', 'painter.cc',
...@@ -452,7 +452,6 @@ ...@@ -452,7 +452,6 @@
], ],
'sources': [ 'sources': [
'animation/bounds_animator_unittest.cc', 'animation/bounds_animator_unittest.cc',
'box_layout_unittest.cc',
'controls/label_unittest.cc', 'controls/label_unittest.cc',
'controls/progress_bar_unittest.cc', 'controls/progress_bar_unittest.cc',
'controls/single_split_view_unittest.cc', 'controls/single_split_view_unittest.cc',
...@@ -463,6 +462,7 @@ ...@@ -463,6 +462,7 @@
'focus/accelerator_handler_gtk_unittest.cc', 'focus/accelerator_handler_gtk_unittest.cc',
'focus/focus_manager_unittest.cc', 'focus/focus_manager_unittest.cc',
'grid_layout_unittest.cc', 'grid_layout_unittest.cc',
'layout/box_layout_unittest.cc',
'test/views_test_base.h', 'test/views_test_base.h',
'run_all_unittests.cc', 'run_all_unittests.cc',
'test/test_views_delegate.h', 'test/test_views_delegate.h',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment