OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "base/shared_memory.h" | 5 #include "base/shared_memory.h" |
6 #include "chrome/common/ipc_message_macros.h" | 6 #include "chrome/common/ipc_message_macros.h" |
7 #include "webkit/glue/webcursor.h" | 7 #include "webkit/glue/webcursor.h" |
8 | 8 |
9 //----------------------------------------------------------------------------- | 9 //----------------------------------------------------------------------------- |
10 // PluginProcess messages | 10 // PluginProcess messages |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 std::vector<uint8> /* opaque data response */) | 63 std::vector<uint8> /* opaque data response */) |
64 | 64 |
65 // Used to get cookies for the given URL. The request_context is a | 65 // Used to get cookies for the given URL. The request_context is a |
66 // CPBrowsingContext, but is passed as int32 to avoid compilation errors. | 66 // CPBrowsingContext, but is passed as int32 to avoid compilation errors. |
67 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_GetCookies, | 67 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_GetCookies, |
68 int32 /* request_context */, | 68 int32 /* request_context */, |
69 GURL /* url */, | 69 GURL /* url */, |
70 std::string /* cookies */) | 70 std::string /* cookies */) |
71 | 71 |
72 // Get the list of proxies to use for |url|, as a semicolon delimited list | 72 // Get the list of proxies to use for |url|, as a semicolon delimited list |
73 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". | 73 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also ViewHostMsg_ResolveProxy |
| 74 // which does the same thing. |
74 IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy, | 75 IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy, |
75 GURL /* url */, | 76 GURL /* url */, |
76 int /* network error */, | 77 int /* network error */, |
77 std::string /* proxy list */) | 78 std::string /* proxy list */) |
78 | 79 |
79 // Creates a child window of the given parent window on the UI thread. | 80 // Creates a child window of the given parent window on the UI thread. |
80 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_CreateWindow, | 81 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_CreateWindow, |
81 HWND /* parent */, | 82 HWND /* parent */, |
82 HWND /* child */) | 83 HWND /* child */) |
83 | 84 |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 std::string /* script */, | 316 std::string /* script */, |
316 bool /* popups_allowed */, | 317 bool /* popups_allowed */, |
317 NPVariant_Param /* result_param */, | 318 NPVariant_Param /* result_param */, |
318 bool /* result */) | 319 bool /* result */) |
319 | 320 |
320 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | 321 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, |
321 std::string /* message */) | 322 std::string /* message */) |
322 | 323 |
323 IPC_END_MESSAGES(NPObject) | 324 IPC_END_MESSAGES(NPObject) |
324 | 325 |
OLD | NEW |