| 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 ash { | 17 namespace ash { |
| 18 | 18 |
| 19 struct ASH_EXPORT AshWindowTreeHostInitParams { | 19 struct ASH_EXPORT AshWindowTreeHostInitParams { |
| 20 AshWindowTreeHostInitParams(); | 20 AshWindowTreeHostInitParams(); |
| 21 ~AshWindowTreeHostInitParams(); | 21 ~AshWindowTreeHostInitParams(); |
| 22 | 22 |
| 23 gfx::Rect initial_bounds; | 23 gfx::Rect initial_bounds; |
| 24 | 24 |
| 25 bool offscreen; |
| 26 |
| 25 #if defined(OS_WIN) | 27 #if defined(OS_WIN) |
| 26 HWND remote_hwnd; | 28 HWND remote_hwnd; |
| 27 #endif | 29 #endif |
| 28 }; | 30 }; |
| 29 | 31 |
| 30 } // namespace ash | 32 } // namespace ash |
| 31 | 33 |
| 32 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ | 34 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ |
| OLD | NEW |