Index: content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java |
diff --git a/content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java b/content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java |
index 0e51e9d893b04fb4d382b038e74ed56bd5684c27..97ebef8f08c7bb3e9777cc25d4f36c4816bbd1ab 100644 |
--- a/content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java |
+++ b/content/shell/android/java/src/org/chromium/content_shell/ShellViewAndroidDelegate.java |
@@ -4,6 +4,8 @@ |
package org.chromium.content_shell; |
+import android.os.Build; |
+import android.view.PointerIcon; |
import android.view.ViewGroup; |
import org.chromium.ui.base.ViewAndroidDelegate; |
@@ -23,4 +25,11 @@ public class ShellViewAndroidDelegate extends ViewAndroidDelegate { |
public ViewGroup getContainerView() { |
return mContainerView; |
} |
+ |
+ @Override |
+ public void updatePointerIcon(PointerIcon icon) { |
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { |
+ getContainerView().setPointerIcon(icon); |
+ } |
+ } |
} |