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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/input/CursorController.java

Issue 335943002: [Android] Composited selection handle rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@input_native_handles_final
Patch Set: Fix animation tests Created 6 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.content.browser.input;
6
7 import android.view.ViewTreeObserver;
8
9 /**
10 * A CursorController instance can be used to control a cursor in the text.
11 */
12 interface CursorController extends ViewTreeObserver.OnTouchModeChangeListener {
13
14 /**
15 * Hide the cursor controller from screen.
16 */
17 void hide();
18
19 /**
20 * @return true if the CursorController is currently visible
21 */
22 boolean isShowing();
23
24 /**
25 * Called when the handle is about to start updating its position.
26 * @param handle
27 */
28 void beforeStartUpdatingPosition(HandleView handle);
29
30 /**
31 * Update the controller's position.
32 */
33 void updatePosition(HandleView handle, int x, int y);
34
35 /**
36 * Called when the view is detached from window. Perform house keeping task, such as
37 * stopping Runnable thread that would otherwise keep a reference on the con text, thus
38 * preventing the activity to be recycled.
39 */
40 void onDetached();
41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698