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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 // generates a ViewMsg_UpdateRect_ACK message. 1150 // generates a ViewMsg_UpdateRect_ACK message.
1151 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, 1151 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
1152 ViewHostMsg_UpdateRect_Params) 1152 ViewHostMsg_UpdateRect_Params)
1153 1153
1154 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) 1154 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
1155 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1155 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1156 1156
1157 // Message sent from renderer to the browser when focus changes inside the 1157 // Message sent from renderer to the browser when focus changes inside the
1158 // webpage. The parameter says whether the newly focused element needs 1158 // webpage. The parameter says whether the newly focused element needs
1159 // keyboard input (true for textfields, text areas and content editable divs). 1159 // keyboard input (true for textfields, text areas and content editable divs).
1160 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, 1160 IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged,
1161 bool /* is_editable_node */) 1161 bool /* is_editable_node */,
1162 int /*editable_node_max_length*/)
1162 1163
1163 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) 1164 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor)
1164 1165
1165 // Message sent from renderer requesting touch emulation using mouse. 1166 // Message sent from renderer requesting touch emulation using mouse.
1166 // Shift-scrolling should be converted to pinch, if |allow_pinch| is true. 1167 // Shift-scrolling should be converted to pinch, if |allow_pinch| is true.
1167 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTouchEventEmulationEnabled, 1168 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTouchEventEmulationEnabled,
1168 bool /* enabled */, 1169 bool /* enabled */,
1169 bool /* allow_pinch */) 1170 bool /* allow_pinch */)
1170 1171
1171 // Used to set a cookie. The cookie is set asynchronously, but will be 1172 // Used to set a cookie. The cookie is set asynchronously, but will be
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 // Since the browser keeps handles to the allocated transport DIBs, this 1683 // Since the browser keeps handles to the allocated transport DIBs, this
1683 // message is sent to tell the browser that it may release them when the 1684 // message is sent to tell the browser that it may release them when the
1684 // renderer is finished with them. 1685 // renderer is finished with them.
1685 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1686 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1686 TransportDIB::Id /* DIB id */) 1687 TransportDIB::Id /* DIB id */)
1687 #endif 1688 #endif
1688 1689
1689 // Adding a new message? Stick to the sort order above: first platform 1690 // Adding a new message? Stick to the sort order above: first platform
1690 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1691 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1691 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1692 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698