| 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..88622dcc8a565ac555e329bb8b9eb3d802410ba8 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,13 @@ public class ShellViewAndroidDelegate extends ViewAndroidDelegate {
|
| public ViewGroup getContainerView() {
|
| return mContainerView;
|
| }
|
| +
|
| + @Override
|
| + public void updatePointerIcon(int type) {
|
| + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
| + ViewGroup containerView = getContainerView();
|
| + containerView.setPointerIcon(
|
| + PointerIcon.getSystemIcon(containerView.getContext(), type));
|
| + }
|
| + }
|
| }
|
|
|