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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
314 #elif defined(OS_MACOSX) | 314 #elif defined(OS_MACOSX) |
315 typedef NSView* AcceleratedWidget; | 315 typedef NSView* AcceleratedWidget; |
316 const AcceleratedWidget kNullAcceleratedWidget = 0; | 316 const AcceleratedWidget kNullAcceleratedWidget = 0; |
317 #elif defined(OS_ANDROID) | 317 #elif defined(OS_ANDROID) |
318 typedef ANativeWindow* AcceleratedWidget; | 318 typedef ANativeWindow* AcceleratedWidget; |
319 const AcceleratedWidget kNullAcceleratedWidget = 0; | 319 const AcceleratedWidget kNullAcceleratedWidget = 0; |
320 #else | 320 #else |
321 #error unknown platform | 321 #error unknown platform |
322 #endif | 322 #endif |
323 | 323 |
324 typedef void* PixelBufferHandle; | |
reveman
2013/04/05 18:25:58
I'm not sure we should be calling this "PixelBuffe
kaanb
2013/04/05 18:49:25
I guess people didn't like GraphicBuffer because i
| |
325 | |
324 } // namespace gfx | 326 } // namespace gfx |
325 | 327 |
326 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ | 328 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ |
OLD | NEW |