Index: remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java |
diff --git a/remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java b/remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java |
index 48e5ccf9ac19bad2da5f9a37c4cb0fa8a9fbe884..190396fde9c0e92872cf81ad256b13d576e929c5 100644 |
--- a/remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java |
+++ b/remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java |
@@ -4,6 +4,7 @@ |
package org.chromium.chromoting; |
+import android.graphics.Rect; |
import android.view.MotionEvent; |
/** |
@@ -38,6 +39,15 @@ public interface TouchInputHandler { |
void onHostSizeChanged(int width, int height); |
/** |
+ * Called when the visibility of the soft input method has changed. |
+ * The innerBounds parameter describes the amount of space used by SystemUI along each edge of |
+ * the screen. The status bar is typically shown along the top, soft input UI is generally |
+ * shown at the bottom. The navigation bar is shown along the bottom for tablets and along the |
+ * right side for phones in landscape mode (it shown at the bottom in portrait mode). |
+ */ |
+ void onSoftInputMethodVisibilityChanged(boolean inputMethodVisible, Rect innerBounds); |
+ |
+ /** |
* 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. |
*/ |