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 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1170 // Sent when the renderer runs insecure content in a secure origin. | 1170 // Sent when the renderer runs insecure content in a secure origin. |
1171 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1171 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
1172 std::string /* security_origin */, | 1172 std::string /* security_origin */, |
1173 GURL /* target URL */) | 1173 GURL /* target URL */) |
1174 | 1174 |
1175 // Sent to update part of the view. In response to this message, the host | 1175 // Sent to update part of the view. In response to this message, the host |
1176 // generates a ViewMsg_UpdateRect_ACK message. | 1176 // generates a ViewMsg_UpdateRect_ACK message. |
1177 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1177 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
1178 ViewHostMsg_UpdateRect_Params) | 1178 ViewHostMsg_UpdateRect_Params) |
1179 | 1179 |
1180 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, | |
1181 // which may get delayed until the browser's UI unblocks. | |
1182 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) | |
1183 | |
1184 // Sent by the renderer when accelerated compositing is enabled or disabled to | 1180 // Sent by the renderer when accelerated compositing is enabled or disabled to |
1185 // notify the browser whether or not is should do painting. | 1181 // notify the browser whether or not is should do painting. |
1186 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, | 1182 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, |
1187 bool /* true if the accelerated compositor is actve */) | 1183 bool /* true if the accelerated compositor is actve */) |
1188 | 1184 |
1189 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1185 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
1190 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1186 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1191 | 1187 |
1192 // Message sent from renderer to the browser when focus changes inside the | 1188 // Message sent from renderer to the browser when focus changes inside the |
1193 // webpage. The parameter says whether the newly focused element needs | 1189 // webpage. The parameter says whether the newly focused element needs |
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1780 // synchronously (see crbug.com/120597). This IPC message sends the character | 1776 // synchronously (see crbug.com/120597). This IPC message sends the character |
1781 // bounds after every composition change to always have correct bound info. | 1777 // bounds after every composition change to always have correct bound info. |
1782 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1778 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1783 gfx::Range /* composition range */, | 1779 gfx::Range /* composition range */, |
1784 std::vector<gfx::Rect> /* character bounds */) | 1780 std::vector<gfx::Rect> /* character bounds */) |
1785 #endif | 1781 #endif |
1786 | 1782 |
1787 // Adding a new message? Stick to the sort order above: first platform | 1783 // Adding a new message? Stick to the sort order above: first platform |
1788 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1784 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1789 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1785 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |