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

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, 4 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
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java ('k') | ui/android/view_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/view_android.h
diff --git a/ui/android/view_android.h b/ui/android/view_android.h
index 6516f00b460ce7b87dc98b190175607b8ada6ddf..b12c3835bab665e74c9784c8432c4d381ae83053 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;
@@ -146,6 +152,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);
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java ('k') | ui/android/view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698