Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: ash/host/ash_window_tree_host_init_params.h

Issue 2821203002: cros: Adds ShellPort functions for simplified display mode (Closed)
Patch Set: Fix x11 build Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/host/ash_window_tree_host.cc ('k') | ash/mus/bridge/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdint.h>
9
8 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
9 #include "ui/gfx/geometry/rect.h" 11 #include "ui/gfx/geometry/rect.h"
10 12
11 namespace ash { 13 namespace ash {
12 14
13 struct ASH_EXPORT AshWindowTreeHostInitParams { 15 struct ASH_EXPORT AshWindowTreeHostInitParams {
16 // This corresponds to display::ManagedDisplayInfo::bounds_in_native.
14 gfx::Rect initial_bounds; 17 gfx::Rect initial_bounds;
15 bool offscreen = false; 18 bool offscreen = false;
19 int64_t display_id = 0;
20 float device_scale_factor = 0.0f;
21 float ui_scale_factor = 0.0f;
16 }; 22 };
17 23
18 } // namespace ash 24 } // namespace ash
19 25
20 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_ 26 #endif // ASH_HOST_WINDOW_TREE_HOST_INIT_PARAMS_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host.cc ('k') | ash/mus/bridge/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698