OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/shell_window_ids.h" |
7 #include "ash/shell.h" | 8 #include "ash/shell.h" |
8 #include "ash/shell_window_ids.h" | |
9 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" |
10 #include "ash/test/ash_test_helper.h" | 10 #include "ash/test/ash_test_helper.h" |
11 #include "ash/test/test_shell_delegate.h" | 11 #include "ash/test/test_shell_delegate.h" |
12 #include "ash/wm/window_util.h" | 12 #include "ash/wm/window_util.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "ui/app_list/app_list_switches.h" | 14 #include "ui/app_list/app_list_switches.h" |
15 #include "ui/app_list/presenter/app_list_presenter_impl.h" | 15 #include "ui/app_list/presenter/app_list_presenter_impl.h" |
16 #include "ui/app_list/views/app_list_view.h" | 16 #include "ui/app_list/views/app_list_view.h" |
17 #include "ui/aura/test/test_windows.h" | 17 #include "ui/aura/test/test_windows.h" |
18 #include "ui/aura/window.h" | 18 #include "ui/aura/window.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 int app_list_view_top = | 190 int app_list_view_top = |
191 app_list->anchor_rect().y() - app_list->bounds().height() / 2; | 191 app_list->anchor_rect().y() - app_list->bounds().height() / 2; |
192 EXPECT_GE(app_list_view_top, kMinimalCenteredAppListMargin); | 192 EXPECT_GE(app_list_view_top, kMinimalCenteredAppListMargin); |
193 } | 193 } |
194 | 194 |
195 INSTANTIATE_TEST_CASE_P(AppListPresenterDelegateTestInstance, | 195 INSTANTIATE_TEST_CASE_P(AppListPresenterDelegateTestInstance, |
196 AppListPresenterDelegateTest, | 196 AppListPresenterDelegateTest, |
197 ::testing::Bool()); | 197 ::testing::Bool()); |
198 | 198 |
199 } // namespace ash | 199 } // namespace ash |
OLD | NEW |