OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 // Platform-specific types and definitions for native widget handles. | 5 // Platform-specific types and definitions for native widget handles. |
6 | 6 |
7 #ifndef GPU_DEMOS_APP_FRAMEWORK_PLATFORM_H_ | 7 #ifndef GPU_DEMOS_FRAMEWORK_PLATFORM_H_ |
8 #define GPU_DEMOS_APP_FRAMEWORK_PLATFORM_H_ | 8 #define GPU_DEMOS_FRAMEWORK_PLATFORM_H_ |
9 | 9 |
10 #ifdef _WINDOWS | 10 #ifdef _WINDOWS |
11 #include <windows.h> | 11 #include <windows.h> |
12 #endif // _WINDOWS | 12 #endif // _WINDOWS |
13 | 13 |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 | 15 |
16 namespace gpu_demos { | 16 namespace gpu { |
| 17 namespace demos { |
17 | 18 |
18 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
19 typedef HWND NativeWindowHandle; | 20 typedef HWND NativeWindowHandle; |
20 #endif // defined(OS_WIN) | 21 #endif // defined(OS_WIN) |
21 | 22 |
22 } // namespace gpu_demos | 23 } // namespace demos |
23 #endif // GPU_DEMOS_APP_FRAMEWORK_PLATFORM_H_ | 24 } // namespace gpu |
| 25 #endif // GPU_DEMOS_FRAMEWORK_PLATFORM_H_ |
OLD | NEW |