| 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/shell_window_ids.h" |
| 12 #include "ash/root_window_controller.h" | 13 #include "ash/root_window_controller.h" |
| 13 #include "ash/shelf/app_list_button.h" | 14 #include "ash/shelf/app_list_button.h" |
| 14 #include "ash/shelf/overflow_bubble.h" | 15 #include "ash/shelf/overflow_bubble.h" |
| 15 #include "ash/shelf/overflow_bubble_view.h" | 16 #include "ash/shelf/overflow_bubble_view.h" |
| 16 #include "ash/shelf/shelf.h" | 17 #include "ash/shelf/shelf.h" |
| 17 #include "ash/shelf/shelf_button.h" | 18 #include "ash/shelf/shelf_button.h" |
| 18 #include "ash/shelf/shelf_constants.h" | 19 #include "ash/shelf/shelf_constants.h" |
| 19 #include "ash/shelf/shelf_icon_observer.h" | 20 #include "ash/shelf/shelf_icon_observer.h" |
| 20 #include "ash/shelf/shelf_item_delegate_manager.h" | 21 #include "ash/shelf/shelf_item_delegate_manager.h" |
| 21 #include "ash/shelf/shelf_layout_manager.h" | 22 #include "ash/shelf/shelf_layout_manager.h" |
| 22 #include "ash/shelf/shelf_model.h" | 23 #include "ash/shelf/shelf_model.h" |
| 23 #include "ash/shelf/shelf_tooltip_manager.h" | 24 #include "ash/shelf/shelf_tooltip_manager.h" |
| 24 #include "ash/shelf/shelf_widget.h" | 25 #include "ash/shelf/shelf_widget.h" |
| 25 #include "ash/shell.h" | 26 #include "ash/shell.h" |
| 26 #include "ash/shell_window_ids.h" | |
| 27 #include "ash/test/ash_test_base.h" | 27 #include "ash/test/ash_test_base.h" |
| 28 #include "ash/test/overflow_bubble_view_test_api.h" | 28 #include "ash/test/overflow_bubble_view_test_api.h" |
| 29 #include "ash/test/shelf_test_api.h" | 29 #include "ash/test/shelf_test_api.h" |
| 30 #include "ash/test/shelf_view_test_api.h" | 30 #include "ash/test/shelf_view_test_api.h" |
| 31 #include "ash/test/shell_test_api.h" | 31 #include "ash/test/shell_test_api.h" |
| 32 #include "ash/test/test_shelf_delegate.h" | 32 #include "ash/test/test_shelf_delegate.h" |
| 33 #include "ash/test/test_shelf_item_delegate.h" | 33 #include "ash/test/test_shelf_item_delegate.h" |
| 34 #include "base/compiler_specific.h" | 34 #include "base/compiler_specific.h" |
| 35 #include "base/i18n/rtl.h" | 35 #include "base/i18n/rtl.h" |
| 36 #include "base/strings/string_number_conversions.h" | 36 #include "base/strings/string_number_conversions.h" |
| (...skipping 1948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1985 test_api_->RunMessageLoopUntilAnimationsDone(); | 1985 test_api_->RunMessageLoopUntilAnimationsDone(); |
| 1986 CheckAllItemsAreInBounds(); | 1986 CheckAllItemsAreInBounds(); |
| 1987 } | 1987 } |
| 1988 | 1988 |
| 1989 INSTANTIATE_TEST_CASE_P(LtrRtl, ShelfViewTextDirectionTest, testing::Bool()); | 1989 INSTANTIATE_TEST_CASE_P(LtrRtl, ShelfViewTextDirectionTest, testing::Bool()); |
| 1990 INSTANTIATE_TEST_CASE_P(VisibleBounds, ShelfViewVisibleBoundsTest, | 1990 INSTANTIATE_TEST_CASE_P(VisibleBounds, ShelfViewVisibleBoundsTest, |
| 1991 testing::Bool()); | 1991 testing::Bool()); |
| 1992 | 1992 |
| 1993 } // namespace test | 1993 } // namespace test |
| 1994 } // namespace ash | 1994 } // namespace ash |
| OLD | NEW |