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

Unified Diff: content/common/view_messages.h

Issue 442433002: Not allowing user to type more chars than max length value for text field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 17bde5bdd4ae45c356acc605f9ff09f0ca355b65..7813379f4981b0333ecb34783235aaa961f0c78d 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1157,8 +1157,9 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
// Message sent from renderer to the browser when focus changes inside the
// webpage. The parameter says whether the newly focused element needs
// keyboard input (true for textfields, text areas and content editable divs).
-IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
- bool /* is_editable_node */)
+IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged,
+ bool /* is_editable_node */,
+ int /*editable_node_max_length*/)
IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor)

Powered by Google App Engine
This is Rietveld 408576698