| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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 |
| 11 #if defined(OS_POSIX) | 11 #if defined(OS_POSIX) |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 std::vector<uint8> /* opaque data */, | 66 std::vector<uint8> /* opaque data */, |
| 67 std::vector<uint8> /* opaque data response */) | 67 std::vector<uint8> /* opaque data response */) |
| 68 | 68 |
| 69 // Used to get cookies for the given URL. The request_context is a | 69 // Used to get cookies for the given URL. The request_context is a |
| 70 // CPBrowsingContext, but is passed as int32 to avoid compilation errors. | 70 // CPBrowsingContext, but is passed as int32 to avoid compilation errors. |
| 71 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_GetCookies, | 71 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_GetCookies, |
| 72 int32 /* request_context */, | 72 int32 /* request_context */, |
| 73 GURL /* url */, | 73 GURL /* url */, |
| 74 std::string /* cookies */) | 74 std::string /* cookies */) |
| 75 | 75 |
| 76 // Used by the plugin process to verify that its renderer |process_id| has |
| 77 // permission to access the given |files|. |
| 78 IPC_SYNC_MESSAGE_CONTROL2_1(PluginProcessHostMsg_AccessFiles, |
| 79 int /* process_id */, |
| 80 std::vector<std::string> /* files */, |
| 81 bool /* allowed */) |
| 82 |
| 76 // Get the list of proxies to use for |url|, as a semicolon delimited list | 83 // Get the list of proxies to use for |url|, as a semicolon delimited list |
| 77 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also ViewHostMsg_ResolveProxy | 84 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also ViewHostMsg_ResolveProxy |
| 78 // which does the same thing. | 85 // which does the same thing. |
| 79 IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy, | 86 IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy, |
| 80 GURL /* url */, | 87 GURL /* url */, |
| 81 int /* network error */, | 88 int /* network error */, |
| 82 std::string /* proxy list */) | 89 std::string /* proxy list */) |
| 83 | 90 |
| 84 #if defined(OS_WIN) | 91 #if defined(OS_WIN) |
| 85 // Creates a child window of the given parent window on the UI thread. | 92 // Creates a child window of the given parent window on the UI thread. |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 374 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 368 std::string /* script */, | 375 std::string /* script */, |
| 369 bool /* popups_allowed */, | 376 bool /* popups_allowed */, |
| 370 NPVariant_Param /* result_param */, | 377 NPVariant_Param /* result_param */, |
| 371 bool /* result */) | 378 bool /* result */) |
| 372 | 379 |
| 373 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | 380 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, |
| 374 std::string /* message */) | 381 std::string /* message */) |
| 375 | 382 |
| 376 IPC_END_MESSAGES(NPObject) | 383 IPC_END_MESSAGES(NPObject) |
| OLD | NEW |