Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: components/exo/pointer.h

Issue 2777343002: exo: Rotate cursor snapshot for rotated displays (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | ui/display/display.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/pointer.h
diff --git a/components/exo/pointer.h b/components/exo/pointer.h
index 46864ee708d47a26dce1de8612ece53c2cea305b..1edbb274d54715ef004461bf2a43ea1de3398b3b 100644
--- a/components/exo/pointer.h
+++ b/components/exo/pointer.h
@@ -102,6 +102,7 @@ class Pointer : public ui::EventHandler,
float cursor_scale_ = 1.0f;
float device_scale_factor_ = 1.0f;
+ display::Display::Rotation rotation_ = display::Display::ROTATE_0;
// The position of the pointer surface relative to the pointer location.
gfx::Point hotspot_;
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | ui/display/display.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698