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 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1201 int /* offset (from current) of history item to get */) | 1201 int /* offset (from current) of history item to get */) |
1202 | 1202 |
1203 // Sent from an inactive renderer for the browser to route to the active | 1203 // Sent from an inactive renderer for the browser to route to the active |
1204 // renderer, instructing it to close. | 1204 // renderer, instructing it to close. |
1205 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) | 1205 IPC_MESSAGE_ROUTED0(ViewHostMsg_RouteCloseEvent) |
1206 | 1206 |
1207 // Notifies that the preferred size of the content changed. | 1207 // Notifies that the preferred size of the content changed. |
1208 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, | 1208 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, |
1209 gfx::Size /* pref_size */) | 1209 gfx::Size /* pref_size */) |
1210 | 1210 |
1211 // Notifies whether there are JavaScript touch event handlers or not. | |
1212 IPC_MESSAGE_ROUTED1(ViewHostMsg_HasTouchEventHandlers, | |
1213 bool /* has_handlers */) | |
1214 | |
1215 // A message from HTML-based UI. When (trusted) Javascript calls | 1211 // A message from HTML-based UI. When (trusted) Javascript calls |
1216 // send(message, args), this message is sent to the browser. | 1212 // send(message, args), this message is sent to the browser. |
1217 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, | 1213 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
1218 GURL /* source_url */, | 1214 GURL /* source_url */, |
1219 std::string /* message */, | 1215 std::string /* message */, |
1220 base::ListValue /* args */) | 1216 base::ListValue /* args */) |
1221 | 1217 |
1222 #if defined(ENABLE_PLUGINS) | 1218 #if defined(ENABLE_PLUGINS) |
1223 // A renderer sends this to the browser process when it wants to create a ppapi | 1219 // A renderer sends this to the browser process when it wants to create a ppapi |
1224 // plugin. The browser will create the plugin process if necessary, and will | 1220 // plugin. The browser will create the plugin process if necessary, and will |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1556 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1552 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1557 // for details. | 1553 // for details. |
1558 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1554 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1559 LOGFONT /* font_data */, | 1555 LOGFONT /* font_data */, |
1560 base::string16 /* characters */) | 1556 base::string16 /* characters */) |
1561 #endif | 1557 #endif |
1562 | 1558 |
1563 // Adding a new message? Stick to the sort order above: first platform | 1559 // Adding a new message? Stick to the sort order above: first platform |
1564 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1560 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1565 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1561 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |