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/common/ash_view_ids.h" | 7 #include "ash/ash_view_ids.h" |
8 #include "ash/resources/grit/ash_resources.h" | 8 #include "ash/resources/grit/ash_resources.h" |
9 #include "ash/strings/grit/ash_strings.h" | 9 #include "ash/strings/grit/ash_strings.h" |
10 #include "ash/system/tray/hover_highlight_view.h" | 10 #include "ash/system/tray/hover_highlight_view.h" |
11 #include "ash/system/tray/special_popup_row.h" | 11 #include "ash/system/tray/special_popup_row.h" |
12 #include "ash/system/tray/system_tray.h" | 12 #include "ash/system/tray/system_tray.h" |
13 #include "ash/system/tray/system_tray_item.h" | 13 #include "ash/system/tray/system_tray_item.h" |
14 #include "ash/system/tray/tray_constants.h" | 14 #include "ash/system/tray/tray_constants.h" |
15 #include "ash/system/tray/tray_popup_header_button.h" | 15 #include "ash/system/tray/tray_popup_header_button.h" |
16 #include "ash/system/tray/view_click_listener.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" |
(...skipping 221 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 |