| 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 // Common IPC messages used for child processes. | 5 // Common IPC messages used for child processes. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
| 14 #include "base/tracked_objects.h" | 14 #include "base/tracked_objects.h" |
| 15 #include "base/values.h" | 15 #include "base/values.h" |
| 16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 17 #include "cc/resources/shared_bitmap_manager.h" | 17 #include "cc/resources/shared_bitmap_manager.h" |
| 18 #include "components/discardable_memory/common/discardable_shared_memory_id.h" | 18 #include "components/discardable_memory/common/discardable_shared_memory_id.h" |
| 19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
| 20 #include "content/common/content_param_traits_macros.h" | 20 #include "content/common/content_param_traits_macros.h" |
| 21 #include "gpu/command_buffer/common/sync_token.h" | 21 #include "gpu/command_buffer/common/sync_token.h" |
| 22 #include "gpu/ipc/common/gpu_param_traits_macros.h" | 22 #include "gpu/ipc/common/gpu_param_traits_macros.h" |
| 23 #include "ipc/ipc_channel_handle.h" | 23 #include "ipc/ipc_channel_handle.h" |
| 24 #include "ipc/ipc_message_macros.h" | 24 #include "ipc/ipc_message_macros.h" |
| 25 #include "ipc/ipc_platform_file.h" | 25 #include "ipc/ipc_platform_file.h" |
| 26 #include "ui/gfx/gpu_fence.h" |
| 26 #include "ui/gfx/gpu_memory_buffer.h" | 27 #include "ui/gfx/gpu_memory_buffer.h" |
| 27 #include "ui/gfx/ipc/gfx_param_traits.h" | 28 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 28 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 29 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| 29 | 30 |
| 30 #if defined(OS_LINUX) | 31 #if defined(OS_LINUX) |
| 31 #include "base/threading/platform_thread.h" | 32 #include "base/threading/platform_thread.h" |
| 32 #endif | 33 #endif |
| 33 | 34 |
| 34 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status, | 35 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status, |
| 35 tracked_objects::ThreadData::STATUS_LAST) | 36 tracked_objects::ThreadData::STATUS_LAST) |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 // memory. | 224 // memory. |
| 224 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 225 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
| 225 discardable_memory::DiscardableSharedMemoryId) | 226 discardable_memory::DiscardableSharedMemoryId) |
| 226 | 227 |
| 227 #if defined(OS_LINUX) | 228 #if defined(OS_LINUX) |
| 228 // Asks the browser to change the priority of thread. | 229 // Asks the browser to change the priority of thread. |
| 229 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, | 230 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, |
| 230 base::PlatformThreadId, | 231 base::PlatformThreadId, |
| 231 base::ThreadPriority) | 232 base::ThreadPriority) |
| 232 #endif | 233 #endif |
| 234 |
| 235 // Asks the browser to create a gpu fence. |
| 236 IPC_SYNC_MESSAGE_CONTROL0_1(ChildProcessHostMsg_SyncCreateGpuFence, |
| 237 gfx::GpuFenceHandle) |
| OLD | NEW |