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 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_CONTROL1_0(ViewHostMsg_PreCacheFont, |
1788 LOGFONT /* font data */) | 1788 LOGFONT /* font data */) |
| 1789 IPC_MESSAGE_CONTROL0(ViewHostMsg_ReleaseCachedFont) |
1789 #endif // defined(OS_WIN) | 1790 #endif // defined(OS_WIN) |
1790 | 1791 |
1791 // Returns WebScreenInfo corresponding to the view. | 1792 // Returns WebScreenInfo corresponding to the view. |
1792 // TODO(shess): Provide a mapping from reply_msg->routing_id() to | 1793 // TODO(shess): Provide a mapping from reply_msg->routing_id() to |
1793 // HWND so that we can eliminate the NativeViewId parameter. | 1794 // HWND so that we can eliminate the NativeViewId parameter. |
1794 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, | 1795 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, |
1795 gfx::NativeViewId /* view */, | 1796 gfx::NativeViewId /* view */, |
1796 WebKit::WebScreenInfo /* results */) | 1797 WebKit::WebScreenInfo /* results */) |
1797 | 1798 |
1798 // Send the tooltip text for the current mouse position to the browser. | 1799 // 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 */) | 2126 int32 /* complete status */) |
2126 | 2127 |
2127 // Request updated information about the client firewall traversal policy. | 2128 // Request updated information about the client firewall traversal policy. |
2128 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2129 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2129 // being sent back. | 2130 // being sent back. |
2130 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2131 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2131 | 2132 |
2132 // Notifies the browser of an event occurring in the media pipeline. | 2133 // Notifies the browser of an event occurring in the media pipeline. |
2133 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2134 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
2134 media::MediaLogEvent /* event */) | 2135 media::MediaLogEvent /* event */) |
OLD | NEW |