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

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

Issue 2296953004: Send certificates to devtools when it's open instead of using certId (Closed)
Patch Set: pfeldman comment Created 4 years, 3 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 bool /* success */) 110 bool /* success */)
111 111
112 //----------------------------------------------------------------------------- 112 //-----------------------------------------------------------------------------
113 // These are messages sent from renderer's DevToolsAgent to browser. 113 // These are messages sent from renderer's DevToolsAgent to browser.
114 114
115 // Requests new DevTools window being opened for frame in the same process 115 // Requests new DevTools window being opened for frame in the same process
116 // with given routing id. 116 // with given routing id.
117 IPC_MESSAGE_ROUTED1(DevToolsAgentHostMsg_RequestNewWindow, 117 IPC_MESSAGE_ROUTED1(DevToolsAgentHostMsg_RequestNewWindow,
118 int /* frame_route_id */) 118 int /* frame_route_id */)
119 119
120 // Requests the certificate viewer be shown for the given serialized X509
121 // certificate.
122 IPC_MESSAGE_ROUTED1(DevToolsAgentHostMsg_ShowCertificateViewer,
123 std::string /* certificate */)
124
120 125
121 //----------------------------------------------------------------------------- 126 //-----------------------------------------------------------------------------
122 // These are messages sent from the browser to the renderer. 127 // These are messages sent from the browser to the renderer.
123 128
124 // RenderViewHostDelegate::RenderViewCreated method sends this message to a 129 // RenderViewHostDelegate::RenderViewCreated method sends this message to a
125 // new renderer to notify it that it will host developer tools UI and should 130 // new renderer to notify it that it will host developer tools UI and should
126 // set up all neccessary bindings and create DevToolsClient instance that 131 // set up all neccessary bindings and create DevToolsClient instance that
127 // will handle communication with inspected page DevToolsAgent. 132 // will handle communication with inspected page DevToolsAgent.
128 IPC_MESSAGE_ROUTED1(DevToolsMsg_SetupDevToolsClient, 133 IPC_MESSAGE_ROUTED1(DevToolsMsg_SetupDevToolsClient,
129 std::string /* compatibility script */) 134 std::string /* compatibility script */)
130 135
131 136
132 //----------------------------------------------------------------------------- 137 //-----------------------------------------------------------------------------
133 // These are messages sent from the renderer to the browser. 138 // These are messages sent from the renderer to the browser.
134 139
135 // Transport from Inspector frontend to frontend host. 140 // Transport from Inspector frontend to frontend host.
136 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder, 141 IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder,
137 std::string /* message */) 142 std::string /* message */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698