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 3 // found in the LICENSE file. 4 5 #ifndef ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ 6 #define ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ 7 8 #include <stdint.h> 9 10 #include "ash/ash_export.h" 11 #include "ui/gfx/geometry/rect.h" 12 13 namespace ash { 14 15 class AshWindowTreeHostMirroringDelegate; 16 17 struct ASH_EXPORT AshWindowTreeHostInitParams { 18 // Not owned. 19 AshWindowTreeHostMirroringDelegate* mirroring_delegate = nullptr; 20 // This corresponds to display::ManagedDisplayInfo::bounds_in_native. 21 gfx::Rect initial_bounds; 22 bool offscreen = false; 23 bool mirroring_unified = false; 24 int64_t display_id = 0; 25 float device_scale_factor = 0.0f; 26 }; 27 28 } // namespace ash 29 30 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ 31