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 41a29c178b6d75148e2da337488bbd3feeb9c8c6..4bca96aba3a8f441574d710489d8db80f6d83c27 100644 |
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java |
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java |
@@ -6,10 +6,18 @@ package org.chromium.chromoting; |
import android.graphics.Point; |
+import org.chromium.chromoting.jni.Client; |
+ |
/** |
* Callback interface to allow the TouchInputHandler to request actions on the DesktopView. |
*/ |
public interface DesktopViewInterface { |
+ /** |
+ * Initializes the instance. Implementations can assume this function will be called exactly |
+ * once after constructor but before other functions. |
+ */ |
+ void init(Desktop desktop, Client client); |
+ |
/** Triggers a brief animation to indicate the existence and location of an input event. */ |
void showInputFeedback(DesktopView.InputFeedbackType feedbackToShow, Point pos); |