OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/shelf/shelf_view.h" | 5 #include "ash/shelf/shelf_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "ash/common/shelf/shelf_constants.h" | 12 #include "ash/common/shelf/shelf_constants.h" |
| 13 #include "ash/common/shelf/shelf_item_delegate_manager.h" |
| 14 #include "ash/common/shelf/shelf_model.h" |
13 #include "ash/common/shell_window_ids.h" | 15 #include "ash/common/shell_window_ids.h" |
14 #include "ash/root_window_controller.h" | 16 #include "ash/root_window_controller.h" |
15 #include "ash/shelf/app_list_button.h" | 17 #include "ash/shelf/app_list_button.h" |
16 #include "ash/shelf/overflow_bubble.h" | 18 #include "ash/shelf/overflow_bubble.h" |
17 #include "ash/shelf/overflow_bubble_view.h" | 19 #include "ash/shelf/overflow_bubble_view.h" |
18 #include "ash/shelf/shelf.h" | 20 #include "ash/shelf/shelf.h" |
19 #include "ash/shelf/shelf_button.h" | 21 #include "ash/shelf/shelf_button.h" |
20 #include "ash/shelf/shelf_icon_observer.h" | 22 #include "ash/shelf/shelf_icon_observer.h" |
21 #include "ash/shelf/shelf_item_delegate_manager.h" | |
22 #include "ash/shelf/shelf_model.h" | |
23 #include "ash/shelf/shelf_tooltip_manager.h" | 23 #include "ash/shelf/shelf_tooltip_manager.h" |
24 #include "ash/shelf/shelf_widget.h" | 24 #include "ash/shelf/shelf_widget.h" |
25 #include "ash/shell.h" | 25 #include "ash/shell.h" |
26 #include "ash/test/ash_test_base.h" | 26 #include "ash/test/ash_test_base.h" |
27 #include "ash/test/overflow_bubble_view_test_api.h" | 27 #include "ash/test/overflow_bubble_view_test_api.h" |
28 #include "ash/test/shelf_test_api.h" | 28 #include "ash/test/shelf_test_api.h" |
29 #include "ash/test/shelf_view_test_api.h" | 29 #include "ash/test/shelf_view_test_api.h" |
30 #include "ash/test/shell_test_api.h" | 30 #include "ash/test/shell_test_api.h" |
31 #include "ash/test/test_shelf_delegate.h" | 31 #include "ash/test/test_shelf_delegate.h" |
32 #include "ash/test/test_shelf_item_delegate.h" | 32 #include "ash/test/test_shelf_item_delegate.h" |
(...skipping 1949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1982 test_api_->RunMessageLoopUntilAnimationsDone(); | 1982 test_api_->RunMessageLoopUntilAnimationsDone(); |
1983 CheckAllItemsAreInBounds(); | 1983 CheckAllItemsAreInBounds(); |
1984 } | 1984 } |
1985 | 1985 |
1986 INSTANTIATE_TEST_CASE_P(LtrRtl, ShelfViewTextDirectionTest, testing::Bool()); | 1986 INSTANTIATE_TEST_CASE_P(LtrRtl, ShelfViewTextDirectionTest, testing::Bool()); |
1987 INSTANTIATE_TEST_CASE_P(VisibleBounds, ShelfViewVisibleBoundsTest, | 1987 INSTANTIATE_TEST_CASE_P(VisibleBounds, ShelfViewVisibleBoundsTest, |
1988 testing::Bool()); | 1988 testing::Bool()); |
1989 | 1989 |
1990 } // namespace test | 1990 } // namespace test |
1991 } // namespace ash | 1991 } // namespace ash |
OLD | NEW |