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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/InsertionHandleController.java

Issue 10911012: Upstream Android IME support (ImeAdapter). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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/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).
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698