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

Unified Diff: ui/android/view_android.h

Issue 2878403002: Support setting mouse cursor icon in Android N. (Closed)
Patch Set: Support setting mouse cursor icon in Android N Created 3 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: ui/android/view_android.h
diff --git a/ui/android/view_android.h b/ui/android/view_android.h
index a9880543ca14aa580fd1be94fb6ee029ffc7ade4..f1368b55dafe72c57b709faff9ea9c1b02a39b33 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -14,10 +14,16 @@
#include "ui/android/ui_android_export.h"
#include "ui/gfx/geometry/rect_f.h"
+class SkBitmap;
+
namespace cc {
class Layer;
}
+namespace gfx {
+class Point;
+}
+
namespace ui {
class DragEventAndroid;
class EventForwarder;
@@ -143,6 +149,9 @@ class UI_ANDROID_EXPORT ViewAndroid {
gfx::Size GetPhysicalBackingSize();
void OnPhysicalBackingSizeChanged(const gfx::Size& size);
+ void OnCursorChanged(int type,
+ const SkBitmap& custom_image,
+ const gfx::Point& hotspot);
void OnBackgroundColorChanged(unsigned int color);
void OnTopControlsChanged(float top_controls_offset,
float top_content_offset);

Powered by Google App Engine
This is Rietveld 408576698