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

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 1b219e8f840f813d8ad9d585e1b6caaccae2c4c5..9805b2e1c357e4cb135991796ea1138240d8471c 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 EventForwarder;
class MotionEventAndroid;
@@ -135,6 +141,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