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

Unified Diff: webkit/glue/webcursor.h

Issue 10697082: aura: Scale custom cursors appropriately. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: webkit/glue/webcursor.h
diff --git a/webkit/glue/webcursor.h b/webkit/glue/webcursor.h
index 6da6cdd54523afe8acd2be0958f6844bb0a04734..0c7eb6afcbfd04e5adb1957f3b971dcdeb399560 100644
--- a/webkit/glue/webcursor.h
+++ b/webkit/glue/webcursor.h
@@ -73,6 +73,8 @@ class WEBKIT_GLUE_EXPORT WebCursor {
#if defined(USE_AURA)
const ui::PlatformCursor GetPlatformCursor();
+
+ void SetScaleFactor(float scale_factor);
#elif defined(OS_WIN)
// Returns a HCURSOR representing the current WebCursor instance.
// The ownership of the HCURSOR (does not apply to external cursors) remains
@@ -148,6 +150,7 @@ class WEBKIT_GLUE_EXPORT WebCursor {
#if defined(USE_AURA) && defined(USE_X11)
// Only used for custom cursors.
ui::PlatformCursor platform_cursor_;
+ float scale_factor_;
#elif defined(OS_WIN)
// An externally generated HCURSOR. We assume that it remains valid, i.e we
// don't attempt to copy the HCURSOR.

Powered by Google App Engine
This is Rietveld 408576698