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 "ash/common/system/tray/tray_details_view.h" | 5 #include "ash/system/tray/tray_details_view.h" |
6 | 6 |
7 #include "ash/common/ash_view_ids.h" | 7 #include "ash/common/ash_view_ids.h" |
8 #include "ash/common/system/tray/hover_highlight_view.h" | |
9 #include "ash/common/system/tray/special_popup_row.h" | |
10 #include "ash/common/system/tray/system_tray.h" | |
11 #include "ash/common/system/tray/system_tray_item.h" | |
12 #include "ash/common/system/tray/tray_constants.h" | |
13 #include "ash/common/system/tray/tray_popup_header_button.h" | |
14 #include "ash/common/system/tray/view_click_listener.h" | |
15 #include "ash/resources/grit/ash_resources.h" | 8 #include "ash/resources/grit/ash_resources.h" |
16 #include "ash/strings/grit/ash_strings.h" | 9 #include "ash/strings/grit/ash_strings.h" |
| 10 #include "ash/system/tray/hover_highlight_view.h" |
| 11 #include "ash/system/tray/special_popup_row.h" |
| 12 #include "ash/system/tray/system_tray.h" |
| 13 #include "ash/system/tray/system_tray_item.h" |
| 14 #include "ash/system/tray/tray_constants.h" |
| 15 #include "ash/system/tray/tray_popup_header_button.h" |
| 16 #include "ash/system/tray/view_click_listener.h" |
17 #include "ash/test/ash_test_base.h" | 17 #include "ash/test/ash_test_base.h" |
18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
19 #include "base/run_loop.h" | 19 #include "base/run_loop.h" |
20 #include "base/test/scoped_mock_time_message_loop_task_runner.h" | 20 #include "base/test/scoped_mock_time_message_loop_task_runner.h" |
21 #include "base/test/test_mock_time_task_runner.h" | 21 #include "base/test/test_mock_time_task_runner.h" |
22 #include "ui/events/test/event_generator.h" | 22 #include "ui/events/test/event_generator.h" |
23 #include "ui/views/controls/button/button.h" | 23 #include "ui/views/controls/button/button.h" |
24 #include "ui/views/view.h" | 24 #include "ui/views/view.h" |
25 #include "ui/views/widget/widget.h" | 25 #include "ui/views/widget/widget.h" |
26 | 26 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 239 |
240 // Sticky header layer should be above the last child's layer. | 240 // Sticky header layer should be above the last child's layer. |
241 EXPECT_EQ(3u, layers.size()); | 241 EXPECT_EQ(3u, layers.size()); |
242 EXPECT_EQ(view3->layer(), layers[0]); | 242 EXPECT_EQ(view3->layer(), layers[0]); |
243 EXPECT_EQ(view4->layer(), layers[1]); | 243 EXPECT_EQ(view4->layer(), layers[1]); |
244 EXPECT_EQ(view2->layer(), layers[2]); | 244 EXPECT_EQ(view2->layer(), layers[2]); |
245 } | 245 } |
246 | 246 |
247 } // namespace test | 247 } // namespace test |
248 } // namespace ash | 248 } // namespace ash |
OLD | NEW |