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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_switches.h" | 10 #include "ash/ash_switches.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "ash/test/shelf_test_api.h" | 27 #include "ash/test/shelf_test_api.h" |
28 #include "ash/test/shelf_view_test_api.h" | 28 #include "ash/test/shelf_view_test_api.h" |
29 #include "ash/test/shell_test_api.h" | 29 #include "ash/test/shell_test_api.h" |
30 #include "ash/test/test_shelf_delegate.h" | 30 #include "ash/test/test_shelf_delegate.h" |
31 #include "ash/test/test_shelf_item_delegate.h" | 31 #include "ash/test/test_shelf_item_delegate.h" |
32 #include "base/basictypes.h" | 32 #include "base/basictypes.h" |
33 #include "base/command_line.h" | 33 #include "base/command_line.h" |
34 #include "base/compiler_specific.h" | 34 #include "base/compiler_specific.h" |
35 #include "base/memory/scoped_ptr.h" | 35 #include "base/memory/scoped_ptr.h" |
36 #include "base/strings/string_number_conversions.h" | 36 #include "base/strings/string_number_conversions.h" |
37 #include "grit/ash_resources.h" | |
38 #include "ui/aura/test/aura_test_base.h" | 37 #include "ui/aura/test/aura_test_base.h" |
39 #include "ui/aura/window.h" | 38 #include "ui/aura/window.h" |
40 #include "ui/aura/window_event_dispatcher.h" | 39 #include "ui/aura/window_event_dispatcher.h" |
41 #include "ui/base/l10n/l10n_util.h" | 40 #include "ui/base/l10n/l10n_util.h" |
42 #include "ui/compositor/layer.h" | 41 #include "ui/compositor/layer.h" |
43 #include "ui/events/event.h" | 42 #include "ui/events/event.h" |
44 #include "ui/events/event_constants.h" | 43 #include "ui/events/event_constants.h" |
45 #include "ui/events/test/event_generator.h" | 44 #include "ui/events/test/event_generator.h" |
46 #include "ui/views/view_model.h" | 45 #include "ui/views/view_model.h" |
47 #include "ui/views/widget/widget.h" | 46 #include "ui/views/widget/widget.h" |
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1714 test_api_->RunMessageLoopUntilAnimationsDone(); | 1713 test_api_->RunMessageLoopUntilAnimationsDone(); |
1715 CheckAllItemsAreInBounds(); | 1714 CheckAllItemsAreInBounds(); |
1716 } | 1715 } |
1717 | 1716 |
1718 INSTANTIATE_TEST_CASE_P(LtrRtl, ShelfViewTextDirectionTest, testing::Bool()); | 1717 INSTANTIATE_TEST_CASE_P(LtrRtl, ShelfViewTextDirectionTest, testing::Bool()); |
1719 INSTANTIATE_TEST_CASE_P(VisibleBounds, ShelfViewVisibleBoundsTest, | 1718 INSTANTIATE_TEST_CASE_P(VisibleBounds, ShelfViewVisibleBoundsTest, |
1720 testing::Bool()); | 1719 testing::Bool()); |
1721 | 1720 |
1722 } // namespace test | 1721 } // namespace test |
1723 } // namespace ash | 1722 } // namespace ash |
OLD | NEW |