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

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, 7 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 7f013a967eeccf31e1e838c53d910e6f26022175..a556a3197017046f276ece841ba2b9a893393eec 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -13,10 +13,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;
@@ -137,6 +143,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