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

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

Issue 1345483002: Create a RenderProcess message class and move keygen to it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak Created 5 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
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/render_process_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "cc/surfaces/surface_id.h" 9 #include "cc/surfaces/surface_id.h"
10 #include "cc/surfaces/surface_sequence.h" 10 #include "cc/surfaces/surface_sequence.h"
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 FrameMsg_PostMessage_Params) 1157 FrameMsg_PostMessage_Params)
1158 1158
1159 // Sent when the renderer displays insecure content in a secure origin. 1159 // Sent when the renderer displays insecure content in a secure origin.
1160 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisplayInsecureContent) 1160 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDisplayInsecureContent)
1161 1161
1162 // Sent when the renderer runs insecure content in a secure origin. 1162 // Sent when the renderer runs insecure content in a secure origin.
1163 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent, 1163 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidRunInsecureContent,
1164 std::string /* security_origin */, 1164 std::string /* security_origin */,
1165 GURL /* target URL */) 1165 GURL /* target URL */)
1166 1166
1167 // Asks the browser process to generate a keypair for grabbing a client
1168 // certificate from a CA (<keygen> tag), and returns the signed public
1169 // key and challenge string.
1170 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_Keygen,
1171 uint32 /* key size index */,
1172 std::string /* challenge string */,
1173 GURL /* URL of requestor */,
1174 std::string /* signed public key and challenge */)
1175
1176 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1167 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1177 1168
1178 // Message to show/hide a popup menu using native controls. 1169 // Message to show/hide a popup menu using native controls.
1179 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1170 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1180 FrameHostMsg_ShowPopup_Params) 1171 FrameHostMsg_ShowPopup_Params)
1181 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1172 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1182 1173
1183 #endif 1174 #endif
1184 1175
1185 #if defined(OS_MACOSX) 1176 #if defined(OS_MACOSX)
1186 // Request that the browser load a font into shared memory for us. 1177 // Request that the browser load a font into shared memory for us.
1187 IPC_SYNC_MESSAGE_CONTROL1_3(FrameHostMsg_LoadFont, 1178 IPC_SYNC_MESSAGE_CONTROL1_3(FrameHostMsg_LoadFont,
1188 FontDescriptor /* font to load */, 1179 FontDescriptor /* font to load */,
1189 uint32 /* buffer size */, 1180 uint32 /* buffer size */,
1190 base::SharedMemoryHandle /* font data */, 1181 base::SharedMemoryHandle /* font data */,
1191 uint32 /* font id */) 1182 uint32 /* font id */)
1192 #elif defined(OS_WIN) 1183 #elif defined(OS_WIN)
1193 // Request that the given font characters be loaded by the browser so it's 1184 // Request that the given font characters be loaded by the browser so it's
1194 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1185 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1195 // for details. 1186 // for details.
1196 IPC_SYNC_MESSAGE_CONTROL2_0(FrameHostMsg_PreCacheFontCharacters, 1187 IPC_SYNC_MESSAGE_CONTROL2_0(FrameHostMsg_PreCacheFontCharacters,
1197 LOGFONT /* font_data */, 1188 LOGFONT /* font_data */,
1198 base::string16 /* characters */) 1189 base::string16 /* characters */)
1199 #endif 1190 #endif
1200 1191
1201 // Adding a new message? Stick to the sort order above: first platform 1192 // Adding a new message? Stick to the sort order above: first platform
1202 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1193 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1203 // platform independent FrameHostMsg, then ifdefs for platform specific 1194 // platform independent FrameHostMsg, then ifdefs for platform specific
1204 // FrameHostMsg. 1195 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/render_process_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698