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

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

Issue 106223002: chrome power profiler chrome side changes (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years 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 // Developer tools consist of the following parts: 5 // Developer tools consist of the following parts:
6 // 6 //
7 // DevToolsAgent lives in the renderer of an inspected page and provides access 7 // DevToolsAgent lives in the renderer of an inspected page and provides access
8 // to the pages resources, DOM, v8 etc. by means of IPC messages. 8 // to the pages resources, DOM, v8 etc. by means of IPC messages.
9 // 9 //
10 // DevToolsClient is a thin delegate that lives in the tools front-end 10 // DevToolsClient is a thin delegate that lives in the tools front-end
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 IPC_STRUCT_BEGIN(GpuTaskInfo) 128 IPC_STRUCT_BEGIN(GpuTaskInfo)
129 IPC_STRUCT_MEMBER(double, timestamp) 129 IPC_STRUCT_MEMBER(double, timestamp)
130 IPC_STRUCT_MEMBER(int, phase) 130 IPC_STRUCT_MEMBER(int, phase)
131 IPC_STRUCT_MEMBER(bool, foreign) 131 IPC_STRUCT_MEMBER(bool, foreign)
132 IPC_STRUCT_END() 132 IPC_STRUCT_END()
133 133
134 // Recorded events are passed in chunks to the renderer process. 134 // Recorded events are passed in chunks to the renderer process.
135 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk, 135 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk,
136 std::vector<GpuTaskInfo> /* gpu_tasks */) 136 std::vector<GpuTaskInfo> /* gpu_tasks */)
137 137
138 // These are messages sent from DevToolsClient to browser to control power
139 // profile
140
141 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_PowerProfileSupported)
pfeldman 2014/01/09 11:38:58 Should be a part of protocol.
142
143 // Start power profile
144 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_StartPowerProfile)
145
146 // Stop power profile
147 IPC_MESSAGE_ROUTED0(DevToolsHostMsg_StopPowerProfile)
148
149 // Set power profile resolution
150 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SetPowerProfileResolution,
151 unsigned /* resolution */)
152
138 //----------------------------------------------------------------------------- 153 //-----------------------------------------------------------------------------
139 // These are messages sent from the inspected page renderer to the worker 154 // These are messages sent from the inspected page renderer to the worker
140 // renderer. 155 // renderer.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698