| OLD | NEW |
| 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 BASE_GFX_NATIVE_WIDGET_TYPES_H_ | 5 #ifndef APP_GFX_NATIVE_WIDGET_TYPES_H_ |
| 6 #define BASE_GFX_NATIVE_WIDGET_TYPES_H_ | 6 #define APP_GFX_NATIVE_WIDGET_TYPES_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| 11 // This file provides cross platform typedefs for native widget types. | 11 // This file provides cross platform typedefs for native widget types. |
| 12 // NativeWindow: this is a handle to a native, top-level window | 12 // NativeWindow: this is a handle to a native, top-level window |
| 13 // NativeView: this is a handle to a native UI element. It may be the | 13 // NativeView: this is a handle to a native UI element. It may be the |
| 14 // same type as a NativeWindow on some platforms. | 14 // same type as a NativeWindow on some platforms. |
| 15 // NativeViewId: Often, in our cross process model, we need to pass around a | 15 // NativeViewId: Often, in our cross process model, we need to pass around a |
| 16 // reference to a "window". This reference will, say, be echoed back from a | 16 // reference to a "window". This reference will, say, be echoed back from a |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 typedef unsigned long PluginWindowHandle; | 133 typedef unsigned long PluginWindowHandle; |
| 134 #else | 134 #else |
| 135 // On OS X we don't have windowed plugins. | 135 // On OS X we don't have windowed plugins. |
| 136 // We use a NULL/0 PluginWindowHandle in shared code to indicate there | 136 // We use a NULL/0 PluginWindowHandle in shared code to indicate there |
| 137 // is no window present, so mirror that behavior here. | 137 // is no window present, so mirror that behavior here. |
| 138 typedef bool PluginWindowHandle; | 138 typedef bool PluginWindowHandle; |
| 139 #endif | 139 #endif |
| 140 | 140 |
| 141 } // namespace gfx | 141 } // namespace gfx |
| 142 | 142 |
| 143 #endif // BASE_GFX_NATIVE_WIDGET_TYPES_H_ | 143 #endif // APP_GFX_NATIVE_WIDGET_TYPES_H_ |
| OLD | NEW |