| OLD | NEW |
| 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 UI_GFX_NATIVE_WIDGET_TYPES_H_ | 5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_ |
| 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ | 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_ANDROID) | 10 #if defined(OS_ANDROID) |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 #elif defined(OS_ANDROID) | 318 #elif defined(OS_ANDROID) |
| 319 typedef ANativeWindow* AcceleratedWidget; | 319 typedef ANativeWindow* AcceleratedWidget; |
| 320 const AcceleratedWidget kNullAcceleratedWidget = 0; | 320 const AcceleratedWidget kNullAcceleratedWidget = 0; |
| 321 #elif defined(USE_OZONE) | 321 #elif defined(USE_OZONE) |
| 322 typedef intptr_t AcceleratedWidget; | 322 typedef intptr_t AcceleratedWidget; |
| 323 const AcceleratedWidget kNullAcceleratedWidget = 0; | 323 const AcceleratedWidget kNullAcceleratedWidget = 0; |
| 324 #else | 324 #else |
| 325 #error unknown platform | 325 #error unknown platform |
| 326 #endif | 326 #endif |
| 327 | 327 |
| 328 typedef void* GpuMemoryBufferHandle; | |
| 329 | |
| 330 } // namespace gfx | 328 } // namespace gfx |
| 331 | 329 |
| 332 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ | 330 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ |
| OLD | NEW |