Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: content/browser/renderer_host/

Issue 442433002: Not allowing user to type more chars than max length value for text field. (Closed) Base URL:
Patch Set: few nits resolved Created 6 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/browser/renderer_host/
diff --git a/content/browser/renderer_host/ b/content/browser/renderer_host/
index 19b64c6f5043fcfa27550f8a4529401dd24284a6..05c872d6a5e2ef3d51b1bdeefa97c7a1b1189432 100644
--- a/content/browser/renderer_host/
+++ b/content/browser/renderer_host/
@@ -636,8 +636,11 @@ void RenderWidgetHostViewAndroid::ImeCancelComposition() {
-void RenderWidgetHostViewAndroid::FocusedNodeChanged(bool is_editable_node) {
- ime_adapter_android_.FocusedNodeChanged(is_editable_node);
+void RenderWidgetHostViewAndroid::FocusedNodeChanged(
+ bool is_editable_node,
+ int editable_node_max_length) {
+ ime_adapter_android_.FocusedNodeChanged(is_editable_node,
+ editable_node_max_length);
if (selection_controller_)

Powered by Google App Engine
This is Rietveld 408576698