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 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1626 | 1626 |
1627 // Destroy a plugin container previously created using CreatePluginContainer. | 1627 // Destroy a plugin container previously created using CreatePluginContainer. |
1628 // id is the XID of the plugin window corresponding to the container that is | 1628 // id is the XID of the plugin window corresponding to the container that is |
1629 // to be destroyed. | 1629 // to be destroyed. |
1630 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, | 1630 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, |
1631 gfx::PluginWindowHandle /* id */) | 1631 gfx::PluginWindowHandle /* id */) |
1632 #endif | 1632 #endif |
1633 | 1633 |
1634 #if defined(OS_MACOSX) | 1634 #if defined(OS_MACOSX) |
1635 // Request that the browser load a font into shared memory for us. | 1635 // Request that the browser load a font into shared memory for us. |
1636 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_LoadFont, | 1636 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
1637 FontDescriptor /* font to load */, | 1637 FontDescriptor /* font to load */, |
1638 uint32 /* buffer size */, | 1638 uint32 /* buffer size */, |
1639 base::SharedMemoryHandle /* font data */) | 1639 base::SharedMemoryHandle /* font data */, |
| 1640 uint32 /* font id */) |
1640 #endif | 1641 #endif |
1641 | 1642 |
1642 #if defined(OS_WIN) | 1643 #if defined(OS_WIN) |
1643 // Request that the given font be loaded by the browser so it's cached by the | 1644 // Request that the given font be loaded by the browser so it's cached by the |
1644 // OS. Please see ChildProcessHost::PreCacheFont for details. | 1645 // OS. Please see ChildProcessHost::PreCacheFont for details. |
1645 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, | 1646 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, |
1646 LOGFONT /* font data */) | 1647 LOGFONT /* font data */) |
1647 #endif // defined(OS_WIN) | 1648 #endif // defined(OS_WIN) |
1648 | 1649 |
1649 // Returns WebScreenInfo corresponding to the view. | 1650 // Returns WebScreenInfo corresponding to the view. |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1950 | 1951 |
1951 // Send back a string to be recorded by UserMetrics. | 1952 // Send back a string to be recorded by UserMetrics. |
1952 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1953 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1953 std::string /* action */) | 1954 std::string /* action */) |
1954 | 1955 |
1955 // Provide the browser process with current renderer framerate. | 1956 // Provide the browser process with current renderer framerate. |
1956 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, | 1957 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, |
1957 int /* routing id */, | 1958 int /* routing id */, |
1958 float /* frames per second */) | 1959 float /* frames per second */) |
1959 | 1960 |
OLD | NEW |