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

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

Issue 2047903002: [Chromoting] TouchInputHandler now listens to events in DesktopView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve review comments 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/TouchInputHandlerInterface.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/TouchInputHandlerInterface.java b/remoting/android/java/src/org/chromium/chromoting/TouchInputHandlerInterface.java
index 76e189dbfacae4474c3513e21afb6b89c85f6848..02aa2f6adee614842384acb690bd578c8d492d8d 100644
--- a/remoting/android/java/src/org/chromium/chromoting/TouchInputHandlerInterface.java
+++ b/remoting/android/java/src/org/chromium/chromoting/TouchInputHandlerInterface.java
@@ -4,8 +4,6 @@
package org.chromium.chromoting;
-import android.view.MotionEvent;
-
import org.chromium.chromoting.jni.Client;
/**
@@ -29,23 +27,6 @@ public interface TouchInputHandlerInterface {
void init(Desktop desktop, Client client);
/**
- * Processes a touch event. This should be called by the View in its onTouchEvent() handler.
- */
- boolean onTouchEvent(MotionEvent event);
-
- /**
- * Called whenever the client display area changes size. The caller will handle repainting
- * after this method returns.
- */
- void onClientSizeChanged(int width, int height);
-
- /**
- * Called when the host screen size is changed. The caller will handle repainting after this
- * method returns.
- */
- void onHostSizeChanged(int width, int height);
-
- /**
* Whilst an animation is in progress, this method is called repeatedly until the animation is
* cancelled. After this method returns, the DesktopView will schedule a repaint.
*/

Powered by Google App Engine
This is Rietveld 408576698