| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef PPAPI_PROXY_SERIALIZED_STRUCTS_H_ | 5 #ifndef PPAPI_PROXY_SERIALIZED_STRUCTS_H_ |
| 6 #define PPAPI_PROXY_SERIALIZED_STRUCTS_H_ | 6 #define PPAPI_PROXY_SERIALIZED_STRUCTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 std::string name; | 69 std::string name; |
| 70 bool is_dir; | 70 bool is_dir; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 // FileRefs are created in a number of places and they include a number of | 73 // FileRefs are created in a number of places and they include a number of |
| 74 // return values. This struct encapsulates everything in one place. | 74 // return values. This struct encapsulates everything in one place. |
| 75 struct PPBFileRef_CreateInfo { | 75 struct PPBFileRef_CreateInfo { |
| 76 PPBFileRef_CreateInfo(); // Initializes to 0. | 76 PPBFileRef_CreateInfo(); // Initializes to 0. |
| 77 | 77 |
| 78 HostResource resource; | 78 HostResource resource; |
| 79 int file_system_type; // One of PP_FileSystemType_Dev values. | 79 int file_system_type; // One of PP_FileSystemType values. |
| 80 SerializedVar path; | 80 SerializedVar path; |
| 81 SerializedVar name; | 81 SerializedVar name; |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 struct PPBFlash_DrawGlyphs_Params { | 84 struct PPBFlash_DrawGlyphs_Params { |
| 85 PPBFlash_DrawGlyphs_Params(); | 85 PPBFlash_DrawGlyphs_Params(); |
| 86 ~PPBFlash_DrawGlyphs_Params(); | 86 ~PPBFlash_DrawGlyphs_Params(); |
| 87 | 87 |
| 88 PP_Instance instance; | 88 PP_Instance instance; |
| 89 HostResource image_data; | 89 HostResource image_data; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 119 typedef base::SharedMemoryHandle ImageHandle; | 119 typedef base::SharedMemoryHandle ImageHandle; |
| 120 #else | 120 #else |
| 121 // On X Windows this is a SysV shared memory key. | 121 // On X Windows this is a SysV shared memory key. |
| 122 typedef int ImageHandle; | 122 typedef int ImageHandle; |
| 123 #endif | 123 #endif |
| 124 | 124 |
| 125 } // namespace proxy | 125 } // namespace proxy |
| 126 } // namespace pp | 126 } // namespace pp |
| 127 | 127 |
| 128 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ | 128 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ |
| OLD | NEW |