| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/gfx/native_widget_types.h" | 5 #include "base/gfx/native_widget_types.h" |
| 6 #include "base/shared_memory.h" | 6 #include "base/shared_memory.h" |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "webkit/glue/webcursor.h" | 9 #include "webkit/glue/webcursor.h" |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 std::vector<uint8> /* opaque data */, | 67 std::vector<uint8> /* opaque data */, |
| 68 std::vector<uint8> /* opaque data response */) | 68 std::vector<uint8> /* opaque data response */) |
| 69 | 69 |
| 70 // Used to get cookies for the given URL. The request_context is a | 70 // Used to get cookies for the given URL. The request_context is a |
| 71 // CPBrowsingContext, but is passed as int32 to avoid compilation errors. | 71 // CPBrowsingContext, but is passed as int32 to avoid compilation errors. |
| 72 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_GetCookies, | 72 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_GetCookies, |
| 73 int32 /* request_context */, | 73 int32 /* request_context */, |
| 74 GURL /* url */, | 74 GURL /* url */, |
| 75 std::string /* cookies */) | 75 std::string /* cookies */) |
| 76 | 76 |
| 77 // Used by the plugin process to verify that its renderer |process_id| has | 77 // Used by the plugin process to verify that its renderer |renderer_id| has |
| 78 // permission to access the given |files|. | 78 // permission to access the given |files|. |
| 79 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_AccessFiles, | 79 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_AccessFiles, |
| 80 int /* process_id */, | 80 int /* renderer_id */, |
| 81 std::vector<std::string> /* files */, | 81 std::vector<std::string> /* files */, |
| 82 bool /* allowed */) | 82 bool /* allowed */) |
| 83 | 83 |
| 84 // Get the list of proxies to use for |url|, as a semicolon delimited list | 84 // Get the list of proxies to use for |url|, as a semicolon delimited list |
| 85 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also ViewHostMsg_ResolveProxy | 85 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also ViewHostMsg_ResolveProxy |
| 86 // which does the same thing. | 86 // which does the same thing. |
| 87 IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy, | 87 IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy, |
| 88 GURL /* url */, | 88 GURL /* url */, |
| 89 int /* network error */, | 89 int /* network error */, |
| 90 std::string /* proxy list */) | 90 std::string /* proxy list */) |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 364 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 365 std::string /* script */, | 365 std::string /* script */, |
| 366 bool /* popups_allowed */, | 366 bool /* popups_allowed */, |
| 367 NPVariant_Param /* result_param */, | 367 NPVariant_Param /* result_param */, |
| 368 bool /* result */) | 368 bool /* result */) |
| 369 | 369 |
| 370 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | 370 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, |
| 371 std::string /* message */) | 371 std::string /* message */) |
| 372 | 372 |
| 373 IPC_END_MESSAGES(NPObject) | 373 IPC_END_MESSAGES(NPObject) |
| OLD | NEW |