Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: ppapi/proxy/serialized_structs.h

Issue 232773008: More removal of GTK code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base/ so I don't need another stamp. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ui/base/accelerators/accelerator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 struct PPPDecryptor_Buffer { 129 struct PPPDecryptor_Buffer {
130 ppapi::HostResource resource; 130 ppapi::HostResource resource;
131 uint32_t size; 131 uint32_t size;
132 base::SharedMemoryHandle handle; 132 base::SharedMemoryHandle handle;
133 }; 133 };
134 134
135 // TODO(raymes): Make ImageHandle compatible with SerializedHandle. 135 // TODO(raymes): Make ImageHandle compatible with SerializedHandle.
136 #if defined(OS_WIN) 136 #if defined(OS_WIN)
137 typedef HANDLE ImageHandle; 137 typedef HANDLE ImageHandle;
138 #elif defined(TOOLKIT_GTK)
139 // On legacy X Windows this is a SysV shared memory key.
140 typedef int ImageHandle;
141 #else 138 #else
142 typedef base::SharedMemoryHandle ImageHandle; 139 typedef base::SharedMemoryHandle ImageHandle;
143 #endif 140 #endif
144 141
145 } // namespace proxy 142 } // namespace proxy
146 } // namespace ppapi 143 } // namespace ppapi
147 144
148 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ 145 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ui/base/accelerators/accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698