| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
| (...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1777 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 1777 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
| 1778 FontDescriptor /* font to load */, | 1778 FontDescriptor /* font to load */, |
| 1779 uint32 /* buffer size */, | 1779 uint32 /* buffer size */, |
| 1780 base::SharedMemoryHandle /* font data */, | 1780 base::SharedMemoryHandle /* font data */, |
| 1781 uint32 /* font id */) | 1781 uint32 /* font id */) |
| 1782 #endif | 1782 #endif |
| 1783 | 1783 |
| 1784 #if defined(OS_WIN) | 1784 #if defined(OS_WIN) |
| 1785 // Request that the given font be loaded by the browser so it's cached by the | 1785 // Request that the given font be loaded by the browser so it's cached by the |
| 1786 // OS. Please see ChildProcessHost::PreCacheFont for details. | 1786 // OS. Please see ChildProcessHost::PreCacheFont for details. |
| 1787 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, | 1787 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFont, |
| 1788 LOGFONT /* font data */) | 1788 LOGFONT /* font data */, |
| 1789 int /* pid */) |
| 1790 IPC_MESSAGE_CONTROL1(ViewHostMsg_ReleaseCachedFont, |
| 1791 int /* pid */) |
| 1789 #endif // defined(OS_WIN) | 1792 #endif // defined(OS_WIN) |
| 1790 | 1793 |
| 1791 // Returns WebScreenInfo corresponding to the view. | 1794 // Returns WebScreenInfo corresponding to the view. |
| 1792 // TODO(shess): Provide a mapping from reply_msg->routing_id() to | 1795 // TODO(shess): Provide a mapping from reply_msg->routing_id() to |
| 1793 // HWND so that we can eliminate the NativeViewId parameter. | 1796 // HWND so that we can eliminate the NativeViewId parameter. |
| 1794 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, | 1797 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, |
| 1795 gfx::NativeViewId /* view */, | 1798 gfx::NativeViewId /* view */, |
| 1796 WebKit::WebScreenInfo /* results */) | 1799 WebKit::WebScreenInfo /* results */) |
| 1797 | 1800 |
| 1798 // Send the tooltip text for the current mouse position to the browser. | 1801 // Send the tooltip text for the current mouse position to the browser. |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2125 int32 /* complete status */) | 2128 int32 /* complete status */) |
| 2126 | 2129 |
| 2127 // Request updated information about the client firewall traversal policy. | 2130 // Request updated information about the client firewall traversal policy. |
| 2128 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2131 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
| 2129 // being sent back. | 2132 // being sent back. |
| 2130 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2133 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
| 2131 | 2134 |
| 2132 // Notifies the browser of an event occurring in the media pipeline. | 2135 // Notifies the browser of an event occurring in the media pipeline. |
| 2133 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2136 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
| 2134 media::MediaLogEvent /* event */) | 2137 media::MediaLogEvent /* event */) |
| OLD | NEW |