OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1442 | 1442 |
1443 // Request that the browser load a font into shared memory for us. | 1443 // Request that the browser load a font into shared memory for us. |
1444 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_LoadFont, | 1444 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_LoadFont, |
1445 FontDescriptor /* font to load */, | 1445 FontDescriptor /* font to load */, |
1446 uint32 /* buffer size */, | 1446 uint32 /* buffer size */, |
1447 base::SharedMemoryHandle /* font data */) | 1447 base::SharedMemoryHandle /* font data */) |
1448 #endif | 1448 #endif |
1449 | 1449 |
1450 #if defined(OS_WIN) | 1450 #if defined(OS_WIN) |
1451 // Request that the given font be loaded by the browser so it's cached by the | 1451 // Request that the given font be loaded by the browser so it's cached by the |
1452 // OS. Please see ResourceMessageFilter::OnPreCacheFont for details. | 1452 // OS. Please see ChildProcessHost::PreCacheFont for details. |
1453 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, | 1453 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, |
1454 LOGFONT /* font data */) | 1454 LOGFONT /* font data */) |
1455 #endif // defined(OS_WIN) | 1455 #endif // defined(OS_WIN) |
1456 | 1456 |
1457 // Returns WebScreenInfo corresponding to the view. | 1457 // Returns WebScreenInfo corresponding to the view. |
1458 // TODO(shess): Provide a mapping from reply_msg->routing_id() to | 1458 // TODO(shess): Provide a mapping from reply_msg->routing_id() to |
1459 // HWND so that we can eliminate the NativeViewId parameter. | 1459 // HWND so that we can eliminate the NativeViewId parameter. |
1460 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, | 1460 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, |
1461 gfx::NativeViewId /* view */, | 1461 gfx::NativeViewId /* view */, |
1462 WebKit::WebScreenInfo /* results */) | 1462 WebKit::WebScreenInfo /* results */) |
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2466 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2466 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
2467 int /* render_view_id */, | 2467 int /* render_view_id */, |
2468 int /* bridge_id */) | 2468 int /* bridge_id */) |
2469 | 2469 |
2470 // Send the tree of accessibility data to the browser, where it's cached | 2470 // Send the tree of accessibility data to the browser, where it's cached |
2471 // in order to respond to OS accessibility queries immediately. | 2471 // in order to respond to OS accessibility queries immediately. |
2472 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, | 2472 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, |
2473 webkit_glue::WebAccessibility) | 2473 webkit_glue::WebAccessibility) |
2474 | 2474 |
2475 IPC_END_MESSAGES(ViewHost) | 2475 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |