diff options
author | lambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 19:56:01 +0000 |
---|---|---|
committer | lambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 19:56:01 +0000 |
commit | a4c556ae70400553865761691f2c88c5c57cfe90 (patch) | |
tree | 448d4de65e05677f7bfbad81230a12621fbcae38 /remoting | |
parent | 0ccf48a5911ad14a7e54b79ffc5d737ca628ca50 (diff) | |
download | chromium_src-a4c556ae70400553865761691f2c88c5c57cfe90.zip chromium_src-a4c556ae70400553865761691f2c88c5c57cfe90.tar.gz chromium_src-a4c556ae70400553865761691f2c88c5c57cfe90.tar.bz2 |
[Chromoting Android] Fix access modifiers in new Java interfaces
This addresses comments from https://codereview.chromium.org/26336004/
NOTRY=true
Review URL: https://codereview.chromium.org/51243002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/android/java/src/org/chromium/chromoting/DesktopViewInterface.java | 10 | ||||
-rw-r--r-- | remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java | 10 |
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. |