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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java

Issue 2096193002: Add functions to DesktopViewInterface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java b/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java
index f472fc18aa0e9f66063452a16a78bee8ca5a6cd4..9e3ebaebd70867e6210c75ed96ce171c4d3bc4ae 100644
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java
@@ -34,6 +34,18 @@ public interface DesktopViewInterface {
void transformationChanged();
/**
+ * Informs the view that the cursor has been moved by the TouchInputHandler, which requires
+ * repainting.
+ */
+ void cursorMoved();
+
+ /**
+ * Informs the view that the cursor visibility has been changed (for different input mode) by
+ * the TouchInputHandler, which requires repainting.
+ */
+ void cursorVisibilityChanged();
Lambros 2016/06/27 18:33:08 Do we need separate events for all the different t
+
+ /**
* Starts or stops an animation. Whilst the animation is running, the DesktopView will
* periodically call TouchInputHandler.processAnimation() and repaint itself.
*/

Powered by Google App Engine
This is Rietveld 408576698