blob: b9d3147a26b3aa6c050e52abe920b88d3b53dde8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chromoting;
/**
* Callback interface to allow the TouchInputHandler to request actions on the DesktopView.
*/
public interface DesktopViewInterface {
/** Triggers a brief animation to indicate the existence and location of an input event. */
void showInputFeedback(DesktopView.InputFeedbackType feedbackToShow);
/** Shows the action bar. */
void showActionBar();
/** Shows the software keyboard. */
void showKeyboard();
/**
* Informs the view that its transformation matrix (for rendering the remote desktop bitmap)
* has been changed by the TouchInputHandler, which requires repainting.
*/
void transformationChanged();
/**
* Starts or stops an animation. Whilst the animation is running, the DesktopView will
* periodically call TouchInputHandler.processAnimation() and repaint itself.
*/
void setAnimationEnabled(boolean enabled);
}
|