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

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..cf094cd8907164700fbf2c83d32e0500803f7739 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -10,6 +10,7 @@
#include "base/android/jni_weak_ref.h"
#include "base/bind.h"
#include "base/memory/ref_counted.h"
+#include "third_party/skia/include/core/SkBitmap.h"
boliu 2017/05/19 02:27:57 this can just be a forward declaration, then inclu
jaebaek 2017/05/22 12:08:35 Done.
#include "ui/android/ui_android_export.h"
#include "ui/gfx/geometry/rect_f.h"
@@ -135,6 +136,10 @@ class UI_ANDROID_EXPORT ViewAndroid {
gfx::Size GetPhysicalBackingSize();
void OnPhysicalBackingSizeChanged(const gfx::Size& size);
+ void OnCursorChanged(bool to_custom_cursor,
+ 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