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

Side by Side Diff: content/common/view_messages.h

Issue 626983002: Eliminate redundant IPC used for showing the Windows virtual keyboard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 1113
1114 // Sent to update part of the view. In response to this message, the host 1114 // Sent to update part of the view. In response to this message, the host
1115 // generates a ViewMsg_UpdateRect_ACK message. 1115 // generates a ViewMsg_UpdateRect_ACK message.
1116 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, 1116 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
1117 ViewHostMsg_UpdateRect_Params) 1117 ViewHostMsg_UpdateRect_Params)
1118 1118
1119 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) 1119 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
1120 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1120 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1121 1121
1122 // Message sent from renderer to the browser when focus changes inside the 1122 // Message sent from renderer to the browser when focus changes inside the
1123 // webpage. The parameter says whether the newly focused element needs 1123 // webpage. The parameters say whether the newly focused element needs
1124 // keyboard input (true for textfields, text areas and content editable divs). 1124 // keyboard input (true for textfields, text areas and content editable divs),
1125 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, 1125 // and which input event type triggered the change (WebInputEvent::Undefined if
1126 bool /* is_editable_node */) 1126 // the change was not caused by an input event).
1127 IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged,
1128 bool /* is_editable_node */,
1129 blink::WebInputEvent::Type /* causal_event_type */)
1127 1130
1128 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) 1131 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor)
1129 1132
1130 // Used to set a cookie. The cookie is set asynchronously, but will be 1133 // Used to set a cookie. The cookie is set asynchronously, but will be
1131 // available to a subsequent ViewHostMsg_GetCookies request. 1134 // available to a subsequent ViewHostMsg_GetCookies request.
1132 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie, 1135 IPC_MESSAGE_CONTROL4(ViewHostMsg_SetCookie,
1133 int /* render_frame_id */, 1136 int /* render_frame_id */,
1134 GURL /* url */, 1137 GURL /* url */,
1135 GURL /* first_party_for_cookies */, 1138 GURL /* first_party_for_cookies */,
1136 std::string /* cookie */) 1139 std::string /* cookie */)
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 1522
1520 // Sent by the renderer to the browser to start a vibration with the given 1523 // Sent by the renderer to the browser to start a vibration with the given
1521 // duration. 1524 // duration.
1522 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, 1525 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate,
1523 int64 /* milliseconds */) 1526 int64 /* milliseconds */)
1524 1527
1525 // Sent by the renderer to the browser to cancel the currently running 1528 // Sent by the renderer to the browser to cancel the currently running
1526 // vibration, if there is one. 1529 // vibration, if there is one.
1527 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) 1530 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration)
1528 1531
1529 // Message sent from renderer to the browser when the element that is focused
1530 // has been touched. A bool is passed in this message which indicates if the
1531 // node is editable.
1532 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeTouched,
1533 bool /* editable */)
1534
1535 // Message sent from the renderer to the browser when an HTML form has failed 1532 // Message sent from the renderer to the browser when an HTML form has failed
1536 // validation constraints. 1533 // validation constraints.
1537 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage, 1534 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowValidationMessage,
1538 gfx::Rect /* anchor rectangle in root view coordinate */, 1535 gfx::Rect /* anchor rectangle in root view coordinate */,
1539 base::string16 /* validation message */, 1536 base::string16 /* validation message */,
1540 base::string16 /* supplemental text */) 1537 base::string16 /* supplemental text */)
1541 1538
1542 // Message sent from the renderer to the browser when a HTML form validation 1539 // Message sent from the renderer to the browser when a HTML form validation
1543 // message should be hidden from view. 1540 // message should be hidden from view.
1544 IPC_MESSAGE_ROUTED0(ViewHostMsg_HideValidationMessage) 1541 IPC_MESSAGE_ROUTED0(ViewHostMsg_HideValidationMessage)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 // Since the browser keeps handles to the allocated transport DIBs, this 1637 // Since the browser keeps handles to the allocated transport DIBs, this
1641 // message is sent to tell the browser that it may release them when the 1638 // message is sent to tell the browser that it may release them when the
1642 // renderer is finished with them. 1639 // renderer is finished with them.
1643 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1640 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1644 TransportDIB::Id /* DIB id */) 1641 TransportDIB::Id /* DIB id */)
1645 #endif 1642 #endif
1646 1643
1647 // Adding a new message? Stick to the sort order above: first platform 1644 // Adding a new message? Stick to the sort order above: first platform
1648 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1645 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1649 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1646 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698