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

Unified Diff: content/common/cursors/webcursor.h

Issue 437593007: Don't rotate WebCursor based on display rotation in X11 Aura. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | content/common/cursors/webcursor_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cursors/webcursor.h
diff --git a/content/common/cursors/webcursor.h b/content/common/cursors/webcursor.h
index a5e2aedb17473f631da556fd9f161b4259469751..45cf9df8ecf8141564329911e6a6201666c36040 100644
--- a/content/common/cursors/webcursor.h
+++ b/content/common/cursors/webcursor.h
@@ -172,11 +172,14 @@ class CONTENT_EXPORT WebCursor {
// Only used for custom cursors.
ui::PlatformCursor platform_cursor_;
float device_scale_factor_;
- gfx::Display::Rotation rotation_;
#elif defined(OS_WIN)
// A custom cursor created from custom bitmap data by Webkit.
HCURSOR custom_cursor_;
#endif
+
+#if defined(USE_OZONE)
+ gfx::Display::Rotation rotation_;
+#endif
};
} // namespace content
« no previous file with comments | « no previous file | content/common/cursors/webcursor_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698