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

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

Issue 214173002: Send TextEvent message from Android client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/DesktopView.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
index 53741c1da54ed4e121d0f88431ce27868636998f..94f19a87e5d3bf4751addd1f663964125b4edb14 100644
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
@@ -344,7 +344,7 @@ public class DesktopView extends SurfaceView implements DesktopViewInterface,
return;
}
- JniInterface.mouseAction(x, y, button, pressed);
+ JniInterface.sendMouseEvent(x, y, button, pressed);
if (cursorMoved) {
// TODO(lambroslambrou): Optimize this by only repainting the affected areas.
requestRepaint();
@@ -353,7 +353,7 @@ public class DesktopView extends SurfaceView implements DesktopViewInterface,
@Override
public void injectMouseWheelDeltaEvent(int deltaX, int deltaY) {
- JniInterface.mouseWheelDeltaAction(deltaX, deltaY);
+ JniInterface.sendMouseWheelEvent(deltaX, deltaY);
}
@Override

Powered by Google App Engine
This is Rietveld 408576698