| OLD | NEW |
| 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 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 // Sent when the renderer runs insecure content in a secure origin. | 1156 // Sent when the renderer runs insecure content in a secure origin. |
| 1157 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1157 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
| 1158 std::string /* security_origin */, | 1158 std::string /* security_origin */, |
| 1159 GURL /* target URL */) | 1159 GURL /* target URL */) |
| 1160 | 1160 |
| 1161 // Sent to update part of the view. In response to this message, the host | 1161 // Sent to update part of the view. In response to this message, the host |
| 1162 // generates a ViewMsg_UpdateRect_ACK message. | 1162 // generates a ViewMsg_UpdateRect_ACK message. |
| 1163 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1163 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
| 1164 ViewHostMsg_UpdateRect_Params) | 1164 ViewHostMsg_UpdateRect_Params) |
| 1165 | 1165 |
| 1166 // Sent by the renderer when accelerated compositing is enabled or disabled to | |
| 1167 // notify the browser whether or not is should do painting. | |
| 1168 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, | |
| 1169 bool /* true if the accelerated compositor is actve */) | |
| 1170 | |
| 1171 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1166 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
| 1172 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1167 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
| 1173 | 1168 |
| 1174 // Message sent from renderer to the browser when focus changes inside the | 1169 // Message sent from renderer to the browser when focus changes inside the |
| 1175 // webpage. The parameter says whether the newly focused element needs | 1170 // webpage. The parameter says whether the newly focused element needs |
| 1176 // keyboard input (true for textfields, text areas and content editable divs). | 1171 // keyboard input (true for textfields, text areas and content editable divs). |
| 1177 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, | 1172 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, |
| 1178 bool /* is_editable_node */) | 1173 bool /* is_editable_node */) |
| 1179 | 1174 |
| 1180 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 1175 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1763 // synchronously (see crbug.com/120597). This IPC message sends the character | 1758 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1764 // bounds after every composition change to always have correct bound info. | 1759 // bounds after every composition change to always have correct bound info. |
| 1765 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1760 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1766 gfx::Range /* composition range */, | 1761 gfx::Range /* composition range */, |
| 1767 std::vector<gfx::Rect> /* character bounds */) | 1762 std::vector<gfx::Rect> /* character bounds */) |
| 1768 #endif | 1763 #endif |
| 1769 | 1764 |
| 1770 // Adding a new message? Stick to the sort order above: first platform | 1765 // Adding a new message? Stick to the sort order above: first platform |
| 1771 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1766 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1772 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1767 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |