Chromium Code Reviews| Index: content/public/android/java/src/org/chromium/content/browser/InsertionHandleController.java |
| diff --git a/content/public/android/java/src/org/chromium/content/browser/InsertionHandleController.java b/content/public/android/java/src/org/chromium/content/browser/InsertionHandleController.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bd9f51966e9a08bcb3c79ec4fb8feb3c8b30f4a6 |
| --- /dev/null |
| +++ b/content/public/android/java/src/org/chromium/content/browser/InsertionHandleController.java |
| @@ -0,0 +1,26 @@ |
| +// Copyright (c) 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; |
| + |
| +import android.content.Context; |
| +import android.view.View; |
| + |
| +public class InsertionHandleController { |
|
bulach
2012/08/31 11:36:24
nit: does it need to be public? SelectionHandleCon
olilan
2012/08/31 16:47:10
changed to package-private
|
| + |
| + /** The view over which the insertion handle should be shown */ |
| + private View mParent; |
| + |
| + private Context mContext; |
| + |
| + InsertionHandleController(View parent) { |
| + mParent = parent; |
| + mContext = parent.getContext(); |
| + } |
| + |
| + /** Disallows the handle from being shown automatically when cursor position changes */ |
| + public void hideAndDisallowAutomaticShowing() { |
| + // TODO(olilan): add method implementation (this is just a stub for ImeAdapter). |
| + } |
| +} |