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

Unified Diff: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java

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: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java
diff --git a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java
index ae8b821415b518120b4e09df8b475dde7b93a0dc..739cd34e2ffee30c97b366f6b8a1febfce6456c7 100644
--- a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java
+++ b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java
@@ -68,6 +68,13 @@ public class ContentShellTestBase extends BaseActivityInstrumentationTestCase<Co
}
/**
+ * @param callback it will be called when mouse cursor is updated
+ */
+ public void setCursorUpdateCallback(Runnable callback) {
+ mDelegate.setCursorUpdateCallback(callback);
+ }
+
+ /**
* Returns the current ContentViewCore or null if there is no ContentView.
*/
public ContentViewCore getContentViewCore() {

Powered by Google App Engine
This is Rietveld 408576698