Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 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; | |
| 6 | |
| 7 import android.content.Context; | |
| 8 import android.view.View; | |
| 9 | |
| 10 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
| |
| 11 | |
| 12 /** The view over which the insertion handle should be shown */ | |
| 13 private View mParent; | |
| 14 | |
| 15 private Context mContext; | |
| 16 | |
| 17 InsertionHandleController(View parent) { | |
| 18 mParent = parent; | |
| 19 mContext = parent.getContext(); | |
| 20 } | |
| 21 | |
| 22 /** Disallows the handle from being shown automatically when cursor position changes */ | |
| 23 public void hideAndDisallowAutomaticShowing() { | |
| 24 // TODO(olilan): add method implementation (this is just a stub for ImeA dapter). | |
| 25 } | |
| 26 } | |
| OLD | NEW |