Chromium Code Reviews| Index: components/exo/pointer.h |
| diff --git a/components/exo/pointer.h b/components/exo/pointer.h |
| index 0757188311a94662ae9e53befd9c899e9e5e8547..a89a364ab3aca5f5c9a583460a575a80cdd0d615 100644 |
| --- a/components/exo/pointer.h |
| +++ b/components/exo/pointer.h |
| @@ -76,7 +76,7 @@ class Pointer : public ui::EventHandler, |
| void CaptureCursor(); |
| // Called when cursor snapshot has been captured. |
| - void OnCursorCaptured(const gfx::Point& hotspot, |
| + void OnCursorCaptured(gfx::Point hotspot, |
| std::unique_ptr<cc::CopyOutputResult> result); |
| void UpdateCursor(gfx::NativeCursor cursor); |
| @@ -101,6 +101,7 @@ class Pointer : public ui::EventHandler, |
| // Device scale factor of the display where the mouse is located. |
| float device_scale_factor_ = 1.0f; |
| + display::Display::Rotation rotation_ = display::Display::ROTATE_0; |
|
reveman
2017/04/28 21:27:42
nit: please give this a blank line and short comme
Dominik Laskowski
2017/05/06 00:37:16
Done.
|
| // The position of the pointer surface relative to the pointer location. |
| gfx::Point hotspot_; |