| 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 // Defines messages between the browser and plugin process, as well as between | 5 // Defines messages between the browser and plugin process, as well as between |
| 6 // the renderer and plugin process. | 6 // the renderer and plugin process. |
| 7 // | 7 // |
| 8 // See render_message* for information about the multi-pass include of headers. | 8 // See render_message* for information about the multi-pass include of headers. |
| 9 | 9 |
| 10 #ifndef CHROME_COMMON_PLUGIN_MESSAGES_H_ | 10 #ifndef CHROME_COMMON_PLUGIN_MESSAGES_H_ |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 std::string target; | 47 std::string target; |
| 48 std::vector<char> buffer; | 48 std::vector<char> buffer; |
| 49 bool is_file_data; | 49 bool is_file_data; |
| 50 bool notify; | 50 bool notify; |
| 51 std::string url; | 51 std::string url; |
| 52 intptr_t notify_data; | 52 intptr_t notify_data; |
| 53 bool popups_allowed; | 53 bool popups_allowed; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 struct PluginMsg_URLRequestReply_Params { | 56 struct PluginMsg_URLRequestReply_Params { |
| 57 int resource_id; | 57 unsigned long resource_id; |
| 58 GURL url; | 58 GURL url; |
| 59 bool notify_needed; | 59 bool notify_needed; |
| 60 intptr_t notify_data; | 60 intptr_t notify_data; |
| 61 intptr_t stream; | 61 intptr_t stream; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 struct PluginMsg_DidReceiveResponseParams { | 64 struct PluginMsg_DidReceiveResponseParams { |
| 65 int id; | 65 unsigned long id; |
| 66 std::string mime_type; | 66 std::string mime_type; |
| 67 std::string headers; | 67 std::string headers; |
| 68 uint32 expected_length; | 68 uint32 expected_length; |
| 69 uint32 last_modified; | 69 uint32 last_modified; |
| 70 bool request_is_seekable; | 70 bool request_is_seekable; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 struct NPIdentifier_Param { | 73 struct NPIdentifier_Param { |
| 74 NPIdentifier identifier; | 74 NPIdentifier identifier; |
| 75 }; | 75 }; |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 } | 459 } |
| 460 }; | 460 }; |
| 461 | 461 |
| 462 } // namespace IPC | 462 } // namespace IPC |
| 463 | 463 |
| 464 | 464 |
| 465 #define MESSAGES_INTERNAL_FILE "chrome/common/plugin_messages_internal.h" | 465 #define MESSAGES_INTERNAL_FILE "chrome/common/plugin_messages_internal.h" |
| 466 #include "ipc/ipc_message_macros.h" | 466 #include "ipc/ipc_message_macros.h" |
| 467 | 467 |
| 468 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H_ | 468 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H_ |
| OLD | NEW |