| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 <memory> | 5 #include <memory> |
| 6 | 6 |
| 7 #include "ash/common/system/tray/tri_view.h" | 7 #include "ash/system/tray/tri_view.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "ui/gfx/geometry/insets.h" | 10 #include "ui/gfx/geometry/insets.h" |
| 11 #include "ui/gfx/geometry/rect_conversions.h" | 11 #include "ui/gfx/geometry/rect_conversions.h" |
| 12 #include "ui/views/layout/box_layout.h" | 12 #include "ui/views/layout/box_layout.h" |
| 13 #include "ui/views/test/test_layout_manager.h" | 13 #include "ui/views/test/test_layout_manager.h" |
| 14 #include "ui/views/test/test_views.h" | 14 #include "ui/views/test/test_views.h" |
| 15 #include "ui/views/view.h" | 15 #include "ui/views/view.h" |
| 16 | 16 |
| 17 namespace ash { | 17 namespace ash { |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 EXPECT_NE(kMinHeight, GetMinHeight(TriView::Container::END)); | 371 EXPECT_NE(kMinHeight, GetMinHeight(TriView::Container::END)); |
| 372 | 372 |
| 373 tri_view_->SetMinHeight(kMinHeight); | 373 tri_view_->SetMinHeight(kMinHeight); |
| 374 | 374 |
| 375 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::START)); | 375 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::START)); |
| 376 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::CENTER)); | 376 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::CENTER)); |
| 377 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::END)); | 377 EXPECT_EQ(kMinHeight, GetMinHeight(TriView::Container::END)); |
| 378 } | 378 } |
| 379 | 379 |
| 380 } // namespace ash | 380 } // namespace ash |
| OLD | NEW |