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

Unified Diff: content/browser/renderer_host/ime_adapter_android.h

Issue 1589953005: Support InputMethodManager#updateCursorAnchorInfo for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Findbugs warning / Simplify the state transition. Created 4 years, 10 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/browser/renderer_host/ime_adapter_android.h
diff --git a/content/browser/renderer_host/ime_adapter_android.h b/content/browser/renderer_host/ime_adapter_android.h
index 0830f27254dc336e38efc5d582a1958cbbd711ca..78cb3ad16b0399c9a21e08303b0e55e83dcd127e 100644
--- a/content/browser/renderer_host/ime_adapter_android.h
+++ b/content/browser/renderer_host/ime_adapter_android.h
@@ -7,7 +7,10 @@
#include <jni.h>
+#include <vector>
+
#include "base/android/jni_weak_ref.h"
+#include "ui/gfx/geometry/rect.h"
namespace content {
@@ -79,6 +82,7 @@ class ImeAdapterAndroid {
// Called from native -> java
void CancelComposition();
void FocusedNodeChanged(bool is_editable_node);
+ void SetCharacterBounds(const std::vector<gfx::Rect>& rects);
aelias_OOO_until_Jul13 2016/02/10 08:23:41 Looks like the bounds are in floats in the Java la
kinaba 2016/02/19 12:28:29 Done.
private:
RenderWidgetHostImpl* GetRenderWidgetHostImpl();

Powered by Google App Engine
This is Rietveld 408576698