| 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/system/tray/tray_details_view.h" | 5 #include "ash/system/tray/tray_details_view.h" |
| 6 | 6 |
| 7 #include "ash/ash_view_ids.h" | 7 #include "ash/ash_view_ids.h" |
| 8 #include "ash/resources/grit/ash_resources.h" | |
| 9 #include "ash/strings/grit/ash_strings.h" | 8 #include "ash/strings/grit/ash_strings.h" |
| 10 #include "ash/system/tray/system_tray.h" | 9 #include "ash/system/tray/system_tray.h" |
| 11 #include "ash/system/tray/system_tray_item.h" | 10 #include "ash/system/tray/system_tray_item.h" |
| 12 #include "ash/system/tray/tray_constants.h" | 11 #include "ash/system/tray/tray_constants.h" |
| 13 #include "ash/system/tray/tray_popup_header_button.h" | 12 #include "ash/system/tray/tray_popup_header_button.h" |
| 14 #include "ash/system/tray/view_click_listener.h" | 13 #include "ash/system/tray/view_click_listener.h" |
| 15 #include "ash/test/ash_test_base.h" | 14 #include "ash/test/ash_test_base.h" |
| 16 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
| 17 #include "base/run_loop.h" | 16 #include "base/run_loop.h" |
| 18 #include "base/test/scoped_mock_time_message_loop_task_runner.h" | 17 #include "base/test/scoped_mock_time_message_loop_task_runner.h" |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 225 |
| 227 // Sticky header layer should be above the last child's layer. | 226 // Sticky header layer should be above the last child's layer. |
| 228 EXPECT_EQ(3u, layers.size()); | 227 EXPECT_EQ(3u, layers.size()); |
| 229 EXPECT_EQ(view3->layer(), layers[0]); | 228 EXPECT_EQ(view3->layer(), layers[0]); |
| 230 EXPECT_EQ(view4->layer(), layers[1]); | 229 EXPECT_EQ(view4->layer(), layers[1]); |
| 231 EXPECT_EQ(view2->layer(), layers[2]); | 230 EXPECT_EQ(view2->layer(), layers[2]); |
| 232 } | 231 } |
| 233 | 232 |
| 234 } // namespace test | 233 } // namespace test |
| 235 } // namespace ash | 234 } // namespace ash |
| OLD | NEW |