| 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" | |
| 9 | |
| 10 #if defined(OS_WIN) | |
| 11 #include <windows.h> | |
| 12 #endif | |
| 13 | |
| 14 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 15 #include "ui/gfx/geometry/rect.h" | 9 #include "ui/gfx/geometry/rect.h" |
| 16 | 10 |
| 17 namespace ash { | 11 namespace ash { |
| 18 | 12 |
| 19 struct ASH_EXPORT AshWindowTreeHostInitParams { | 13 struct ASH_EXPORT AshWindowTreeHostInitParams { |
| 20 AshWindowTreeHostInitParams(); | |
| 21 ~AshWindowTreeHostInitParams(); | |
| 22 | |
| 23 gfx::Rect initial_bounds; | 14 gfx::Rect initial_bounds; |
| 24 | 15 bool offscreen = false; |
| 25 bool offscreen; | |
| 26 | |
| 27 #if defined(OS_WIN) | |
| 28 HWND remote_hwnd; | |
| 29 #endif | |
| 30 }; | 16 }; |
| 31 | 17 |
| 32 } // namespace ash | 18 } // namespace ash |
| 33 | 19 |
| 34 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ | 20 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ |
| OLD | NEW |