| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ | 5 #ifndef ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ |
| 6 #define ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ | 6 #define ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| 11 #include <windows.h> | 11 #include <windows.h> |
| 12 #endif | 12 #endif |
| 13 | 13 |
| 14 #include "ash/ash_export.h" | 14 #include "ash/ash_export.h" |
| 15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
| 16 | 16 |
| 17 namespace ui { |
| 18 class ContextFactory; |
| 19 } |
| 20 |
| 17 namespace ash { | 21 namespace ash { |
| 18 | 22 |
| 19 struct ASH_EXPORT AshWindowTreeHostInitParams { | 23 struct ASH_EXPORT AshWindowTreeHostInitParams { |
| 20 AshWindowTreeHostInitParams(); | 24 AshWindowTreeHostInitParams(); |
| 21 ~AshWindowTreeHostInitParams(); | 25 ~AshWindowTreeHostInitParams(); |
| 22 | 26 |
| 23 gfx::Rect initial_bounds; | 27 gfx::Rect initial_bounds; |
| 24 | 28 |
| 29 ui::ContextFactory* context_factory; |
| 30 |
| 25 #if defined(OS_WIN) | 31 #if defined(OS_WIN) |
| 26 HWND remote_hwnd; | 32 HWND remote_hwnd; |
| 27 #endif | 33 #endif |
| 28 }; | 34 }; |
| 29 | 35 |
| 30 } // namespace ash | 36 } // namespace ash |
| 31 | 37 |
| 32 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ | 38 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ |
| OLD | NEW |