| 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/common/shell_window_ids.h" |
| 5 #include "ash/common/wm/root_window_finder.h" | 6 #include "ash/common/wm/root_window_finder.h" |
| 6 #include "ash/display/display_manager.h" | 7 #include "ash/display/display_manager.h" |
| 7 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
| 8 #include "ash/screen_util.h" | 9 #include "ash/screen_util.h" |
| 9 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 10 #include "ash/shell_window_ids.h" | |
| 11 #include "ash/system/tray/system_tray.h" | 11 #include "ash/system/tray/system_tray.h" |
| 12 #include "ash/test/ash_test_base.h" | 12 #include "ash/test/ash_test_base.h" |
| 13 #include "ash/wm/aura/wm_window_aura.h" | 13 #include "ash/wm/aura/wm_window_aura.h" |
| 14 #include "ash/wm/window_properties.h" | 14 #include "ash/wm/window_properties.h" |
| 15 #include "ash/wm/window_util.h" | 15 #include "ash/wm/window_util.h" |
| 16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
| 17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
| 18 #include "ui/aura/client/capture_client.h" | 18 #include "ui/aura/client/capture_client.h" |
| 19 #include "ui/aura/client/focus_client.h" | 19 #include "ui/aura/client/focus_client.h" |
| 20 #include "ui/aura/test/test_windows.h" | 20 #include "ui/aura/test/test_windows.h" |
| (...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 947 generator.ReleaseLeftButton(); | 947 generator.ReleaseLeftButton(); |
| 948 EXPECT_EQ("-999,-999 -999,-999", event_handler.GetLocationsAndReset()); | 948 EXPECT_EQ("-999,-999 -999,-999", event_handler.GetLocationsAndReset()); |
| 949 | 949 |
| 950 generator.MoveMouseTo(400, 150); | 950 generator.MoveMouseTo(400, 150); |
| 951 EXPECT_EQ("100,150 100,150", event_handler.GetLocationsAndReset()); | 951 EXPECT_EQ("100,150 100,150", event_handler.GetLocationsAndReset()); |
| 952 | 952 |
| 953 ash::Shell::GetInstance()->RemovePreTargetHandler(&event_handler); | 953 ash::Shell::GetInstance()->RemovePreTargetHandler(&event_handler); |
| 954 } | 954 } |
| 955 | 955 |
| 956 } // namespace ash | 956 } // namespace ash |
| OLD | NEW |