| 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/wm/workspace/workspace_window_resizer.h" | 5 #include "ash/wm/workspace/workspace_window_resizer.h" |
| 6 | 6 |
| 7 #include "ash/display/display_controller.h" | 7 #include "ash/display/display_controller.h" |
| 8 #include "ash/display/mouse_cursor_event_filter.h" | 8 #include "ash/display/mouse_cursor_event_filter.h" |
| 9 #include "ash/root_window_controller.h" | 9 #include "ash/root_window_controller.h" |
| 10 #include "ash/screen_ash.h" | 10 #include "ash/screen_ash.h" |
| 11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
| 12 #include "ash/shell_window_ids.h" | 12 #include "ash/shell_window_ids.h" |
| 13 #include "ash/test/ash_test_base.h" | 13 #include "ash/test/ash_test_base.h" |
| 14 #include "ash/test/cursor_manager_test_api.h" | 14 #include "ash/test/cursor_manager_test_api.h" |
| 15 #include "ash/wm/cursor_manager.h" | 15 #include "ash/wm/cursor_manager.h" |
| 16 #include "ash/wm/property_util.h" | 16 #include "ash/wm/property_util.h" |
| 17 #include "ash/wm/shelf_layout_manager.h" | 17 #include "ash/wm/shelf_layout_manager.h" |
| 18 #include "ash/wm/workspace_controller.h" | 18 #include "ash/wm/workspace_controller.h" |
| 19 #include "ash/wm/workspace/snap_sizer.h" | 19 #include "ash/wm/workspace/snap_sizer.h" |
| 20 #include "ash/wm/workspace/phantom_window_controller.h" | 20 #include "ash/wm/workspace/phantom_window_controller.h" |
| 21 #include "ash/wm/workspace/workspace_layout_manager2.h" | 21 #include "ash/wm/workspace/workspace_layout_manager.h" |
| 22 #include "base/string_number_conversions.h" | 22 #include "base/string_number_conversions.h" |
| 23 #include "base/stringprintf.h" | 23 #include "base/stringprintf.h" |
| 24 #include "ui/aura/root_window.h" | 24 #include "ui/aura/root_window.h" |
| 25 #include "ui/aura/test/test_window_delegate.h" | 25 #include "ui/aura/test/test_window_delegate.h" |
| 26 #include "ui/base/hit_test.h" | 26 #include "ui/base/hit_test.h" |
| 27 #include "ui/gfx/insets.h" | 27 #include "ui/gfx/insets.h" |
| 28 #include "ui/gfx/screen.h" | 28 #include "ui/gfx/screen.h" |
| 29 #include "ui/views/widget/widget.h" | 29 #include "ui/views/widget/widget.h" |
| 30 | 30 |
| 31 namespace ash { | 31 namespace ash { |
| (...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1374 event_filter->WarpMouseCursorIfNecessary(root_windows[1], | 1374 event_filter->WarpMouseCursorIfNecessary(root_windows[1], |
| 1375 gfx::Point(400, 200)); | 1375 gfx::Point(400, 200)); |
| 1376 EXPECT_EQ(1.0f, cursor_test_api.GetDeviceScaleFactor()); | 1376 EXPECT_EQ(1.0f, cursor_test_api.GetDeviceScaleFactor()); |
| 1377 resizer->CompleteDrag(0); | 1377 resizer->CompleteDrag(0); |
| 1378 EXPECT_EQ(1.0f, cursor_test_api.GetDeviceScaleFactor()); | 1378 EXPECT_EQ(1.0f, cursor_test_api.GetDeviceScaleFactor()); |
| 1379 } | 1379 } |
| 1380 } | 1380 } |
| 1381 | 1381 |
| 1382 } // namespace internal | 1382 } // namespace internal |
| 1383 } // namespace ash | 1383 } // namespace ash |
| OLD | NEW |