summaryrefslogtreecommitdiffstats
path: root/content/port
diff options
context:
space:
mode:
authoraurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 05:12:12 +0000
committeraurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 05:12:12 +0000
commit5f56d196352243a42d86fe9324f608d0dc1105b7 (patch)
treec2729c5b24f9d48a46bafceb30c5085dbc920dc0 /content/port
parent0a5883e3b8a5d3322c06ae725663010065b7b365 (diff)
downloadchromium_src-5f56d196352243a42d86fe9324f608d0dc1105b7.zip
chromium_src-5f56d196352243a42d86fe9324f608d0dc1105b7.tar.gz
chromium_src-5f56d196352243a42d86fe9324f608d0dc1105b7.tar.bz2
Start using FocusedNodedChanged to restartInput.
Android requires us to call restart input when input node changes. Previously we relied on onHandleGesture which is not the right way to do it. BUG=242715 Review URL: https://codereview.chromium.org/56643003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r--content/port/browser/render_widget_host_view_port.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 89ccf71..e183357 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -106,6 +106,9 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView,
// Cancel the ongoing composition of the input method attached to the view.
virtual void ImeCancelComposition() = 0;
+ // Informs that the focused DOM node has changed.
+ virtual void FocusedNodeChanged(bool is_editable_node) = 0;
+
#if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
// Updates the range of the marked text in an IME composition.
virtual void ImeCompositionRangeChanged(