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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 56643003: Start using FocusedNodedChanged to restartInput. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes based on jamesr comments Created 7 years, 1 month 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/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 8382811d8010dd1aa4e1cf30428cdfdc807f174e..89bb48015f7fe92d6617c20a334009f7743b8a4a 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -439,6 +439,8 @@ void RenderWidgetHostViewAndroid::OnTextInputStateChanged(
params.show_ime_if_needed, params.require_ack);
}
+
+
jamesr 2013/11/15 23:02:46 extra newlines
aurimas (slooooooooow) 2013/11/20 00:25:44 Done.
void RenderWidgetHostViewAndroid::OnDidChangeBodyBackgroundColor(
SkColor color) {
if (cached_background_color_ == color)
@@ -491,6 +493,10 @@ void RenderWidgetHostViewAndroid::ImeCancelComposition() {
ime_adapter_android_.CancelComposition();
}
+void RenderWidgetHostViewAndroid::FocusedNodeChanged(bool is_editable_node) {
+ ime_adapter_android_.FocusedNodeChanged(is_editable_node);
+}
+
void RenderWidgetHostViewAndroid::DidUpdateBackingStore(
const gfx::Rect& scroll_rect,
const gfx::Vector2d& scroll_delta,

Powered by Google App Engine
This is Rietveld 408576698