| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 11 #include "content/common/content_param_traits.h" | 11 #include "content/common/content_param_traits.h" |
| 12 #include "content/common/cursors/webcursor.h" | 12 #include "content/common/cursors/webcursor.h" |
| 13 #include "ipc/ipc_channel_handle.h" | 13 #include "ipc/ipc_channel_handle.h" |
| 14 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
| 15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
| 16 #include "ui/gfx/ipc/gfx_param_traits.h" | 16 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 17 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| 17 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
| 18 #include "ui/surface/transport_dib.h" | 19 #include "ui/surface/transport_dib.h" |
| 19 #include "url/ipc/url_param_traits.h" | 20 #include "url/ipc/url_param_traits.h" |
| 20 | 21 |
| 21 #if defined(OS_POSIX) | 22 #if defined(OS_POSIX) |
| 22 #include "base/file_descriptor_posix.h" | 23 #include "base/file_descriptor_posix.h" |
| 23 #endif | 24 #endif |
| 24 | 25 |
| 25 #undef IPC_MESSAGE_EXPORT | 26 #undef IPC_MESSAGE_EXPORT |
| 26 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 IPC_MESSAGE_ROUTED3(PluginHostMsg_AcceleratedPluginAllocatedIOSurface, | 179 IPC_MESSAGE_ROUTED3(PluginHostMsg_AcceleratedPluginAllocatedIOSurface, |
| 179 int32_t /* width */, | 180 int32_t /* width */, |
| 180 int32_t /* height */, | 181 int32_t /* height */, |
| 181 uint32_t /* surface_id */) | 182 uint32_t /* surface_id */) |
| 182 | 183 |
| 183 // Notifies the renderer process that the plugin produced a new frame | 184 // Notifies the renderer process that the plugin produced a new frame |
| 184 // of content into its IOSurface, and therefore that the compositor | 185 // of content into its IOSurface, and therefore that the compositor |
| 185 // needs to redraw. | 186 // needs to redraw. |
| 186 IPC_MESSAGE_ROUTED0(PluginHostMsg_AcceleratedPluginSwappedIOSurface) | 187 IPC_MESSAGE_ROUTED0(PluginHostMsg_AcceleratedPluginSwappedIOSurface) |
| 187 #endif | 188 #endif |
| OLD | NEW |