Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: content/common/child_process_messages.h

Issue 1824993004: Separate gfx_ipc into skia-dependent and non-skia-dependent parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits from tsepez@ Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "content/common/content_export.h" 18 #include "content/common/content_export.h"
19 #include "content/common/content_param_traits_macros.h" 19 #include "content/common/content_param_traits_macros.h"
20 #include "content/common/gpu_process_launch_causes.h" 20 #include "content/common/gpu_process_launch_causes.h"
21 #include "content/common/host_discardable_shared_memory_manager.h" 21 #include "content/common/host_discardable_shared_memory_manager.h"
22 #include "gpu/command_buffer/common/sync_token.h" 22 #include "gpu/command_buffer/common/sync_token.h"
23 #include "gpu/ipc/common/gpu_param_traits_macros.h" 23 #include "gpu/ipc/common/gpu_param_traits_macros.h"
24 #include "ipc/ipc_channel_handle.h" 24 #include "ipc/ipc_channel_handle.h"
25 #include "ipc/ipc_message_macros.h" 25 #include "ipc/ipc_message_macros.h"
26 #include "ipc/ipc_platform_file.h" 26 #include "ipc/ipc_platform_file.h"
27 #include "ui/gfx/gpu_memory_buffer.h" 27 #include "ui/gfx/gpu_memory_buffer.h"
28 #include "ui/gfx/ipc/gfx_param_traits.h" 28 #include "ui/gfx/ipc/gfx_param_traits.h"
29 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
29 30
30 IPC_ENUM_TRAITS_MAX_VALUE(content::CauseForGpuLaunch, 31 IPC_ENUM_TRAITS_MAX_VALUE(content::CauseForGpuLaunch,
31 content::CAUSE_FOR_GPU_LAUNCH_MAX_ENUM - 1) 32 content::CAUSE_FOR_GPU_LAUNCH_MAX_ENUM - 1)
32 33
33 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status, 34 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status,
34 tracked_objects::ThreadData::STATUS_LAST) 35 tracked_objects::ThreadData::STATUS_LAST)
35 36
36 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot) 37 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot)
37 IPC_STRUCT_TRAITS_MEMBER(file_name) 38 IPC_STRUCT_TRAITS_MEMBER(file_name)
38 IPC_STRUCT_TRAITS_MEMBER(function_name) 39 IPC_STRUCT_TRAITS_MEMBER(function_name)
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 IPC_SYNC_MESSAGE_CONTROL2_1( 202 IPC_SYNC_MESSAGE_CONTROL2_1(
202 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 203 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
203 uint32_t /* size */, 204 uint32_t /* size */,
204 content::DiscardableSharedMemoryId, 205 content::DiscardableSharedMemoryId,
205 base::SharedMemoryHandle) 206 base::SharedMemoryHandle)
206 207
207 // Informs the browser that the child deleted a block of discardable shared 208 // Informs the browser that the child deleted a block of discardable shared
208 // memory. 209 // memory.
209 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 210 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
210 content::DiscardableSharedMemoryId) 211 content::DiscardableSharedMemoryId)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698