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

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

Issue 1021053003: Delivering the FIRST_NONEMPTY_PAINT phase changing event to base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@phase_splitting
Patch Set: More comments. Created 5 years, 7 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 IPC_STRUCT_TRAITS_MEMBER(parent) 51 IPC_STRUCT_TRAITS_MEMBER(parent)
52 IPC_STRUCT_TRAITS_MEMBER(child) 52 IPC_STRUCT_TRAITS_MEMBER(child)
53 IPC_STRUCT_TRAITS_END() 53 IPC_STRUCT_TRAITS_END()
54 54
55 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot) 55 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot)
56 IPC_STRUCT_TRAITS_MEMBER(tasks) 56 IPC_STRUCT_TRAITS_MEMBER(tasks)
57 IPC_STRUCT_TRAITS_MEMBER(descendants) 57 IPC_STRUCT_TRAITS_MEMBER(descendants)
58 IPC_STRUCT_TRAITS_END() 58 IPC_STRUCT_TRAITS_END()
59 59
60 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataSnapshot) 60 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataSnapshot)
61 IPC_STRUCT_TRAITS_MEMBER(phased_process_data_snapshots) 61 IPC_STRUCT_TRAITS_MEMBER(phased_snapshots)
62 IPC_STRUCT_TRAITS_MEMBER(process_id) 62 IPC_STRUCT_TRAITS_MEMBER(process_id)
63 IPC_STRUCT_TRAITS_END() 63 IPC_STRUCT_TRAITS_END()
64 64
65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, 65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType,
66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) 66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST)
67 67
68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) 68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle)
69 IPC_STRUCT_TRAITS_MEMBER(id) 69 IPC_STRUCT_TRAITS_MEMBER(id)
70 IPC_STRUCT_TRAITS_MEMBER(type) 70 IPC_STRUCT_TRAITS_MEMBER(type)
71 IPC_STRUCT_TRAITS_MEMBER(handle) 71 IPC_STRUCT_TRAITS_MEMBER(handle)
(...skipping 24 matching lines...) Expand all
96 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, 96 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,
97 bool /* on or off */) 97 bool /* on or off */)
98 #endif 98 #endif
99 99
100 // Tell the child process to enable or disable the profiler status. 100 // Tell the child process to enable or disable the profiler status.
101 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, 101 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus,
102 tracked_objects::ThreadData::Status /* profiler status */) 102 tracked_objects::ThreadData::Status /* profiler status */)
103 103
104 // Send to all the child processes to send back profiler data (ThreadData in 104 // Send to all the child processes to send back profiler data (ThreadData in
105 // tracked_objects). 105 // tracked_objects).
106 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData, 106 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData,
107 int /* sequence_number */) 107 int /* sequence_number */,
108 int /* current_profiling_phase */)
109
110 // Send to all the child processes to mark the current profiling phase as
111 // finished and start a new phase.
112 IPC_MESSAGE_CONTROL1(ChildProcessMsg_ProfilingPhaseCompleted,
113 int /* profiling_phase */)
108 114
109 // Send to all the child processes to send back histogram data. 115 // Send to all the child processes to send back histogram data.
110 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, 116 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData,
111 int /* sequence_number */) 117 int /* sequence_number */)
112 118
113 // Sent to child processes to dump their handle table. 119 // Sent to child processes to dump their handle table.
114 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) 120 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles)
115 121
116 // Sent to child processes to tell them to enter or leave background mode. 122 // Sent to child processes to tell them to enter or leave background mode.
117 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, 123 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 IPC_SYNC_MESSAGE_CONTROL2_1( 211 IPC_SYNC_MESSAGE_CONTROL2_1(
206 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 212 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
207 uint32 /* size */, 213 uint32 /* size */,
208 content::DiscardableSharedMemoryId, 214 content::DiscardableSharedMemoryId,
209 base::SharedMemoryHandle) 215 base::SharedMemoryHandle)
210 216
211 // Informs the browser that the child deleted a block of discardable shared 217 // Informs the browser that the child deleted a block of discardable shared
212 // memory. 218 // memory.
213 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 219 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
214 content::DiscardableSharedMemoryId) 220 content::DiscardableSharedMemoryId)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698