diff options
Diffstat (limited to 'gpu/demos/app_framework/platform.h')
-rw-r--r-- | gpu/demos/app_framework/platform.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gpu/demos/app_framework/platform.h b/gpu/demos/app_framework/platform.h new file mode 100644 index 0000000..602979e --- /dev/null +++ b/gpu/demos/app_framework/platform.h @@ -0,0 +1,23 @@ +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Platform-specific types and definitions for native widget handles. + +#ifndef GPU_DEMOS_APP_FRAMEWORK_PLATFORM_H_ +#define GPU_DEMOS_APP_FRAMEWORK_PLATFORM_H_ + +#ifdef _WINDOWS +#include <windows.h> +#endif // _WINDOWS + +#include "build/build_config.h" + +namespace gpu_demos { + +#if defined(OS_WIN) +typedef HWND NativeWindowHandle; +#endif // defined(OS_WIN) + +} // namespace gpu_demos +#endif // GPU_DEMOS_APP_FRAMEWORK_PLATFORM_H_ |