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 #ifndef GPU_DEMOS_FRAMEWORK_WINDOW_H_ | 5 #ifndef GPU_DEMOS_FRAMEWORK_WINDOW_H_ |
6 #define GPU_DEMOS_FRAMEWORK_WINDOW_H_ | 6 #define GPU_DEMOS_FRAMEWORK_WINDOW_H_ |
7 | 7 |
8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
9 #include "gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 namespace gpu { | 11 namespace gpu { |
12 namespace demos { | 12 namespace demos { |
13 | 13 |
14 class Demo; | 14 class Demo; |
15 | 15 |
16 // Acts as a framework for standalone demos. It creates a window and delegates | 16 // Acts as a framework for standalone demos. It creates a window and delegates |
17 // all events to demo to perform rendering and other tasks. | 17 // all events to demo to perform rendering and other tasks. |
18 class Window { | 18 class Window { |
19 public: | 19 public: |
(...skipping 20 matching lines...) Expand all Loading... |
40 gfx::NativeWindow window_handle_; | 40 gfx::NativeWindow window_handle_; |
41 scoped_ptr<Demo> demo_; | 41 scoped_ptr<Demo> demo_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(Window); | 43 DISALLOW_COPY_AND_ASSIGN(Window); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace demos | 46 } // namespace demos |
47 } // namespace gpu | 47 } // namespace gpu |
48 #endif // GPU_DEMOS_FRAMEWORK_WINDOW_H_ | 48 #endif // GPU_DEMOS_FRAMEWORK_WINDOW_H_ |
49 | 49 |
OLD | NEW |