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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 // NativeViewIds from the renderer and NativeViews. | 32 // NativeViewIds from the renderer and NativeViews. |
33 // | 33 // |
34 // NativeImage: The platform-specific image type used for drawing UI elements | 34 // NativeImage: The platform-specific image type used for drawing UI elements |
35 // in the browser. | 35 // in the browser. |
36 // | 36 // |
37 // The name 'View' here meshes with OS X where the UI elements are called | 37 // The name 'View' here meshes with OS X where the UI elements are called |
38 // 'views' and with our Chrome UI code where the elements are also called | 38 // 'views' and with our Chrome UI code where the elements are also called |
39 // 'views'. | 39 // 'views'. |
40 | 40 |
41 #if defined(USE_AURA) | 41 #if defined(USE_AURA) |
42 class SkRegion; | |
43 namespace aura { | 42 namespace aura { |
44 class Window; | 43 class Window; |
45 } | 44 } |
46 namespace ui { | 45 namespace ui { |
47 class Cursor; | 46 class Cursor; |
48 class Event; | 47 class Event; |
49 } | 48 } |
50 #endif // defined(USE_AURA) | 49 #endif // defined(USE_AURA) |
51 | 50 |
52 #if defined(OS_WIN) | 51 #if defined(OS_WIN) |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 #elif defined(USE_OZONE) | 202 #elif defined(USE_OZONE) |
204 typedef int32_t AcceleratedWidget; | 203 typedef int32_t AcceleratedWidget; |
205 constexpr AcceleratedWidget kNullAcceleratedWidget = 0; | 204 constexpr AcceleratedWidget kNullAcceleratedWidget = 0; |
206 #else | 205 #else |
207 #error unknown platform | 206 #error unknown platform |
208 #endif | 207 #endif |
209 | 208 |
210 } // namespace gfx | 209 } // namespace gfx |
211 | 210 |
212 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ | 211 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ |
OLD | NEW |