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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 1844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1855 int32 /* width */, | 1855 int32 /* width */, |
1856 int32 /* height */, | 1856 int32 /* height */, |
1857 uint64 /* surface_id */) | 1857 uint64 /* surface_id */) |
1858 | 1858 |
1859 // This message notifies the browser process that the plug-in | 1859 // This message notifies the browser process that the plug-in |
1860 // swapped the buffers associated with the given "window", which | 1860 // swapped the buffers associated with the given "window", which |
1861 // should cause the browser to redraw the various plug-ins' | 1861 // should cause the browser to redraw the various plug-ins' |
1862 // contents. | 1862 // contents. |
1863 IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped, | 1863 IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped, |
1864 gfx::PluginWindowHandle /* window */, | 1864 gfx::PluginWindowHandle /* window */, |
1865 uint64 /* surface_id */) | 1865 uint64 /* surface_handle */) |
1866 #endif | 1866 #endif |
1867 | 1867 |
1868 // Opens a file asynchronously. The response returns a file descriptor | 1868 // Opens a file asynchronously. The response returns a file descriptor |
1869 // and an error code from base/platform_file.h. | 1869 // and an error code from base/platform_file.h. |
1870 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, | 1870 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, |
1871 FilePath /* file path */, | 1871 FilePath /* file path */, |
1872 int /* flags */, | 1872 int /* flags */, |
1873 int /* message_id */) | 1873 int /* message_id */) |
1874 | 1874 |
1875 //--------------------------------------------------------------------------- | 1875 //--------------------------------------------------------------------------- |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1959 // have a javascript send a native value (string, number, boolean) to the | 1959 // have a javascript send a native value (string, number, boolean) to the |
1960 // listener in Cpp. (DomAutomationController) | 1960 // listener in Cpp. (DomAutomationController) |
1961 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1961 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
1962 std::string /* json_string */, | 1962 std::string /* json_string */, |
1963 int /* automation_id */) | 1963 int /* automation_id */) |
1964 | 1964 |
1965 // Enable or disable inverting of web content pixels, for users who prefer | 1965 // Enable or disable inverting of web content pixels, for users who prefer |
1966 // white-on-black. | 1966 // white-on-black. |
1967 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 1967 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
1968 bool /* invert */) | 1968 bool /* invert */) |
OLD | NEW |