| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 APP_SURFACE_TRANSPORT_DIB_H_ | 5 #ifndef UI_GFX_SURFACE_TRANSPORT_DIB_H_ |
| 6 #define APP_SURFACE_TRANSPORT_DIB_H_ | 6 #define UI_GFX_SURFACE_TRANSPORT_DIB_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 | 10 |
| 11 #if defined(OS_WIN) || defined(OS_MACOSX) | 11 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 12 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
| 13 #endif | 13 #endif |
| 14 | 14 |
| 15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
| 16 #include <windows.h> | 16 #include <windows.h> |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 int key_; // SysV shared memory id | 179 int key_; // SysV shared memory id |
| 180 void* address_; // mapped address | 180 void* address_; // mapped address |
| 181 XSharedMemoryId x_shm_; // X id for the shared segment | 181 XSharedMemoryId x_shm_; // X id for the shared segment |
| 182 Display* display_; // connection to the X server | 182 Display* display_; // connection to the X server |
| 183 #endif | 183 #endif |
| 184 size_t size_; // length, in bytes | 184 size_t size_; // length, in bytes |
| 185 | 185 |
| 186 DISALLOW_COPY_AND_ASSIGN(TransportDIB); | 186 DISALLOW_COPY_AND_ASSIGN(TransportDIB); |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 #endif // APP_SURFACE_TRANSPORT_DIB_H_ | 189 #endif // UI_GFX_SURFACE_TRANSPORT_DIB_H_ |
| OLD | NEW |