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 GFX_NATIVE_WIDGET_TYPES_H_ | 5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_ |
6 #define GFX_NATIVE_WIDGET_TYPES_H_ | 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 | 11 |
12 // This file provides cross platform typedefs for native widget types. | 12 // This file provides cross platform typedefs for native widget types. |
13 // NativeWindow: this is a handle to a native, top-level window | 13 // NativeWindow: this is a handle to a native, top-level window |
14 // NativeView: this is a handle to a native UI element. It may be the | 14 // NativeView: this is a handle to a native UI element. It may be the |
15 // same type as a NativeWindow on some platforms. | 15 // same type as a NativeWindow on some platforms. |
16 // NativeViewId: Often, in our cross process model, we need to pass around a | 16 // NativeViewId: Often, in our cross process model, we need to pass around a |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // to identify the plugin instance via this window handle. When the | 166 // to identify the plugin instance via this window handle. When the |
167 // GPU plugin becomes a full-on GPU process, this typedef can be | 167 // GPU plugin becomes a full-on GPU process, this typedef can be |
168 // returned to a bool. For now we use a type large enough to hold a | 168 // returned to a bool. For now we use a type large enough to hold a |
169 // pointer on 64-bit architectures in case we need this capability. | 169 // pointer on 64-bit architectures in case we need this capability. |
170 typedef uint64 PluginWindowHandle; | 170 typedef uint64 PluginWindowHandle; |
171 const PluginWindowHandle kNullPluginWindow = 0; | 171 const PluginWindowHandle kNullPluginWindow = 0; |
172 #endif | 172 #endif |
173 | 173 |
174 } // namespace gfx | 174 } // namespace gfx |
175 | 175 |
176 #endif // GFX_NATIVE_WIDGET_TYPES_H_ | 176 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ |
OLD | NEW |