OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/exo/pointer.h" | 5 #include "components/exo/pointer.h" |
6 | 6 |
7 #include "ash/common/shell_window_ids.h" | |
8 #include "ash/display/display_manager.h" | 7 #include "ash/display/display_manager.h" |
| 8 #include "ash/public/cpp/shell_window_ids.h" |
9 #include "components/exo/pointer_delegate.h" | 9 #include "components/exo/pointer_delegate.h" |
10 #include "components/exo/pointer_stylus_delegate.h" | 10 #include "components/exo/pointer_stylus_delegate.h" |
11 #include "components/exo/surface.h" | 11 #include "components/exo/surface.h" |
12 #include "components/exo/wm_helper.h" | 12 #include "components/exo/wm_helper.h" |
13 #include "ui/aura/client/cursor_client.h" | 13 #include "ui/aura/client/cursor_client.h" |
14 #include "ui/aura/env.h" | 14 #include "ui/aura/env.h" |
15 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
16 #include "ui/display/manager/managed_display_info.h" | 16 #include "ui/display/manager/managed_display_info.h" |
17 #include "ui/display/screen.h" | 17 #include "ui/display/screen.h" |
18 #include "ui/events/event.h" | 18 #include "ui/events/event.h" |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 | 366 |
367 if (ui_scale != cursor_scale_) { | 367 if (ui_scale != cursor_scale_) { |
368 gfx::Transform transform; | 368 gfx::Transform transform; |
369 transform.Scale(ui_scale, ui_scale); | 369 transform.Scale(ui_scale, ui_scale); |
370 widget_->GetNativeWindow()->SetTransform(transform); | 370 widget_->GetNativeWindow()->SetTransform(transform); |
371 cursor_scale_ = ui_scale; | 371 cursor_scale_ = ui_scale; |
372 } | 372 } |
373 } | 373 } |
374 | 374 |
375 } // namespace exo | 375 } // namespace exo |
OLD | NEW |