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

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

Issue 661423002: DevTools: Clean-up service/shared workers code after switching to main thread debugging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed some more code Created 6 years, 2 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 // 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement, 87 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement,
88 std::string /* host_id */, 88 std::string /* host_id */,
89 int /* x */, 89 int /* x */,
90 int /* y */) 90 int /* y */)
91 91
92 // Add message to the devtools console. 92 // Add message to the devtools console.
93 IPC_MESSAGE_ROUTED2(DevToolsAgentMsg_AddMessageToConsole, 93 IPC_MESSAGE_ROUTED2(DevToolsAgentMsg_AddMessageToConsole,
94 content::ConsoleMessageLevel /* level */, 94 content::ConsoleMessageLevel /* level */,
95 std::string /* message */) 95 std::string /* message */)
96 96
97 // Worker DevTools agent should resume worker execution.
98 IPC_MESSAGE_ROUTED0(DevToolsAgentMsg_ResumeWorkerContext)
99
100 //----------------------------------------------------------------------------- 97 //-----------------------------------------------------------------------------
101 // These are messages sent from the browser to the renderer. 98 // These are messages sent from the browser to the renderer.
102 99
103 // RenderViewHostDelegate::RenderViewCreated method sends this message to a 100 // RenderViewHostDelegate::RenderViewCreated method sends this message to a
104 // new renderer to notify it that it will host developer tools UI and should 101 // new renderer to notify it that it will host developer tools UI and should
105 // set up all neccessary bindings and create DevToolsClient instance that 102 // set up all neccessary bindings and create DevToolsClient instance that
106 // will handle communication with inspected page DevToolsAgent. 103 // will handle communication with inspected page DevToolsAgent.
107 IPC_MESSAGE_ROUTED0(DevToolsMsg_SetupDevToolsClient) 104 IPC_MESSAGE_ROUTED0(DevToolsMsg_SetupDevToolsClient)
108 105
109 106
(...skipping 20 matching lines...) Expand all
130 IPC_STRUCT_MEMBER(uint64, gpu_memory_limit_bytes) 127 IPC_STRUCT_MEMBER(uint64, gpu_memory_limit_bytes)
131 IPC_STRUCT_END() 128 IPC_STRUCT_END()
132 129
133 // Recorded events are passed in chunks to the renderer process. 130 // Recorded events are passed in chunks to the renderer process.
134 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk, 131 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk,
135 std::vector<GpuTaskInfo> /* gpu_tasks */) 132 std::vector<GpuTaskInfo> /* gpu_tasks */)
136 133
137 //----------------------------------------------------------------------------- 134 //-----------------------------------------------------------------------------
138 // These are messages sent from the inspected page renderer to the worker 135 // These are messages sent from the inspected page renderer to the worker
139 // renderer. 136 // renderer.
OLDNEW
« no previous file with comments | « content/child/shared_worker_devtools_agent.cc ('k') | content/renderer/service_worker/embedded_worker_devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698