| 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_layout_manager.h" | 5 #include "ash/shelf/shelf_layout_manager.h" |
| 6 | 6 |
| 7 #include "ash/accelerators/accelerator_controller.h" | 7 #include "ash/accelerators/accelerator_controller.h" |
| 8 #include "ash/accelerators/accelerator_table.h" | 8 #include "ash/accelerators/accelerator_table.h" |
| 9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
| 10 #include "ash/display/display_manager.h" | 10 #include "ash/display/display_manager.h" |
| 11 #include "ash/focus_cycler.h" | 11 #include "ash/focus_cycler.h" |
| 12 #include "ash/root_window_controller.h" | 12 #include "ash/root_window_controller.h" |
| 13 #include "ash/session_state_delegate.h" | 13 #include "ash/session/session_state_delegate.h" |
| 14 #include "ash/shelf/shelf.h" | 14 #include "ash/shelf/shelf.h" |
| 15 #include "ash/shelf/shelf_layout_manager_observer.h" | 15 #include "ash/shelf/shelf_layout_manager_observer.h" |
| 16 #include "ash/shelf/shelf_view.h" | 16 #include "ash/shelf/shelf_view.h" |
| 17 #include "ash/shelf/shelf_widget.h" | 17 #include "ash/shelf/shelf_widget.h" |
| 18 #include "ash/shell.h" | 18 #include "ash/shell.h" |
| 19 #include "ash/shell_window_ids.h" | 19 #include "ash/shell_window_ids.h" |
| 20 #include "ash/system/status_area_widget.h" | 20 #include "ash/system/status_area_widget.h" |
| 21 #include "ash/system/tray/system_tray.h" | 21 #include "ash/system/tray/system_tray.h" |
| 22 #include "ash/system/tray/system_tray_item.h" | 22 #include "ash/system/tray/system_tray_item.h" |
| 23 #include "ash/test/ash_test_base.h" | 23 #include "ash/test/ash_test_base.h" |
| (...skipping 2061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2085 generator.MoveMouseTo(0, 399); | 2085 generator.MoveMouseTo(0, 399); |
| 2086 shelf->SetAlignment(SHELF_ALIGNMENT_LEFT); | 2086 shelf->SetAlignment(SHELF_ALIGNMENT_LEFT); |
| 2087 EXPECT_FALSE(status_area_widget->IsMessageBubbleShown()); | 2087 EXPECT_FALSE(status_area_widget->IsMessageBubbleShown()); |
| 2088 generator.ClickLeftButton(); | 2088 generator.ClickLeftButton(); |
| 2089 EXPECT_TRUE(status_area_widget->IsMessageBubbleShown()); | 2089 EXPECT_TRUE(status_area_widget->IsMessageBubbleShown()); |
| 2090 generator.ClickLeftButton(); | 2090 generator.ClickLeftButton(); |
| 2091 EXPECT_FALSE(status_area_widget->IsMessageBubbleShown()); | 2091 EXPECT_FALSE(status_area_widget->IsMessageBubbleShown()); |
| 2092 } | 2092 } |
| 2093 | 2093 |
| 2094 } // namespace ash | 2094 } // namespace ash |
| OLD | NEW |