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

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

Issue 1154673005: Formalize a RenderFrameHost::AddMessageToConsole() API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android fix Created 5 years, 6 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
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // WebKit-level transport. 92 // WebKit-level transport.
93 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_DispatchOnInspectorBackend, 93 IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_DispatchOnInspectorBackend,
94 std::string /* message */) 94 std::string /* message */)
95 95
96 // Inspect element with the given coordinates. 96 // Inspect element with the given coordinates.
97 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement, 97 IPC_MESSAGE_ROUTED3(DevToolsAgentMsg_InspectElement,
98 std::string /* host_id */, 98 std::string /* host_id */,
99 int /* x */, 99 int /* x */,
100 int /* y */) 100 int /* y */)
101 101
102 // Add message to the devtools console.
103 IPC_MESSAGE_ROUTED2(DevToolsAgentMsg_AddMessageToConsole,
104 content::ConsoleMessageLevel /* level */,
105 std::string /* message */)
106
107 //----------------------------------------------------------------------------- 102 //-----------------------------------------------------------------------------
108 // These are messages sent from the browser to the renderer. 103 // These are messages sent from the browser to the renderer.
109 104
110 // RenderViewHostDelegate::RenderViewCreated method sends this message to a 105 // RenderViewHostDelegate::RenderViewCreated method sends this message to a
111 // new renderer to notify it that it will host developer tools UI and should 106 // new renderer to notify it that it will host developer tools UI and should
112 // set up all neccessary bindings and create DevToolsClient instance that 107 // set up all neccessary bindings and create DevToolsClient instance that
113 // will handle communication with inspected page DevToolsAgent. 108 // will handle communication with inspected page DevToolsAgent.
114 IPC_MESSAGE_ROUTED0(DevToolsMsg_SetupDevToolsClient) 109 IPC_MESSAGE_ROUTED0(DevToolsMsg_SetupDevToolsClient)
115 110
116 111
117 //----------------------------------------------------------------------------- 112 //-----------------------------------------------------------------------------
118 // These are messages sent from the renderer to the browser. 113 // These are messages sent from the renderer to the browser.
119 114
120 // Transport from Inspector frontend to frontend host. 115 // Transport from Inspector frontend to frontend host.
121 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, 116 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder,
122 std::string /* message */) 117 std::string /* message */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698