| 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/common/system/tray/tray_details_view.h" |
| 6 | 6 |
| 7 #include "ash/common/system/tray/hover_highlight_view.h" | 7 #include "ash/common/system/tray/hover_highlight_view.h" |
| 8 #include "ash/common/system/tray/special_popup_row.h" | 8 #include "ash/common/system/tray/special_popup_row.h" |
| 9 #include "ash/common/system/tray/system_tray_item.h" | 9 #include "ash/common/system/tray/system_tray_item.h" |
| 10 #include "ash/common/system/tray/tray_popup_header_button.h" | 10 #include "ash/common/system/tray/tray_popup_header_button.h" |
| 11 #include "ash/common/system/tray/view_click_listener.h" | 11 #include "ash/common/system/tray/view_click_listener.h" |
| 12 #include "ash/system/tray/system_tray.h" | 12 #include "ash/system/tray/system_tray.h" |
| 13 #include "ash/test/ash_test_base.h" | 13 #include "ash/test/ash_test_base.h" |
| 14 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
| 15 #include "grit/ash_resources.h" | 15 #include "grit/ash_resources.h" |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 gfx::Rect bounds = button->GetBoundsInScreen(); | 266 gfx::Rect bounds = button->GetBoundsInScreen(); |
| 267 gfx::Point initial_point(bounds.x() - 1, bounds.y()); | 267 gfx::Point initial_point(bounds.x() - 1, bounds.y()); |
| 268 generator.set_current_location(initial_point); | 268 generator.set_current_location(initial_point); |
| 269 generator.MoveMouseBy(1, 0); | 269 generator.MoveMouseBy(1, 0); |
| 270 RunAllPendingInMessageLoop(); | 270 RunAllPendingInMessageLoop(); |
| 271 EXPECT_TRUE(button->background()); | 271 EXPECT_TRUE(button->background()); |
| 272 } | 272 } |
| 273 | 273 |
| 274 } // namespace test | 274 } // namespace test |
| 275 } // namespace ash | 275 } // namespace ash |
| OLD | NEW |