summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
Diffstat (limited to 'remoting')
-rw-r--r--remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java10
-rw-r--r--remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java10
2 files changed, 10 insertions, 10 deletions
diff --git a/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java b/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java
index ba9e1e6..7360aa8 100644
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java
@@ -7,19 +7,19 @@ package org.chromium.chromoting;
/**
* Callback interface to allow the TouchInputHandler to request actions on the DesktopView.
*/
-interface DesktopViewInterface {
+public interface DesktopViewInterface {
/** Inject a mouse-move event, with optional button press/release. */
- public void injectMouseEvent(int x, int y, int button, boolean pressed);
+ void injectMouseEvent(int x, int y, int button, boolean pressed);
/** Shows the action bar. */
- public void showActionBar();
+ void showActionBar();
/** Shows the software keyboard. */
- public void showKeyboard();
+ void showKeyboard();
/**
* Informs the view that its transformation matrix (for rendering the remote desktop bitmap)
* has been changed by the TouchInputHandler, which requires repainting.
*/
- public void transformationChanged();
+ void transformationChanged();
}
diff --git a/remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java b/remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java
index 85578b6..d546b47 100644
--- a/remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java
+++ b/remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java
@@ -13,12 +13,12 @@ import android.view.MotionEvent;
* performs actions on the DesktopView (such as panning/zooming the display, injecting input, or
* showing/hiding UI elements).
*/
-interface TouchInputHandler {
+public interface TouchInputHandler {
// These constants must match those in the generated struct protoc::MouseEvent_MouseButton.
- public static final int BUTTON_UNDEFINED = 0;
- public static final int BUTTON_LEFT = 1;
- public static final int BUTTON_MIDDLE = 2;
- public static final int BUTTON_RIGHT = 3;
+ int BUTTON_UNDEFINED = 0;
+ int BUTTON_LEFT = 1;
+ int BUTTON_MIDDLE = 2;
+ int BUTTON_RIGHT = 3;
/**
* Processes a touch event. This should be called by the View in its onTouchEvent() handler.