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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/input/CursorController.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/CursorController.java b/content/public/android/java/src/org/chromium/content/browser/input/CursorController.java
deleted file mode 100644
index 68f88bc950386cbd86cc722649930ef4e7127ea8..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/input/CursorController.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2012 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.content.browser.input;
-
-import android.view.ViewTreeObserver;
-
-/**
- * A CursorController instance can be used to control a cursor in the text.
- */
-interface CursorController extends ViewTreeObserver.OnTouchModeChangeListener {
-
- /**
- * Hide the cursor controller from screen.
- */
- void hide();
-
- /**
- * @return true if the CursorController is currently visible
- */
- boolean isShowing();
-
- /**
- * Called when the handle is about to start updating its position.
- * @param handle
- */
- void beforeStartUpdatingPosition(HandleView handle);
-
- /**
- * Update the controller's position.
- */
- void updatePosition(HandleView handle, int x, int y);
-
- /**
- * Called when the view is detached from window. Perform house keeping task, such as
- * stopping Runnable thread that would otherwise keep a reference on the context, thus
- * preventing the activity to be recycled.
- */
- void onDetached();
-}

Powered by Google App Engine
This is Rietveld 408576698