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

Side by Side Diff: services/ui/ws/platform_display_init_params.h

Issue 2310133002: Add mojom::DisplayController. (Closed)
Patch Set: Add missing dep. Created 4 years, 3 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 | « services/ui/ws/platform_display.cc ('k') | services/ui/ws/window_manager_state.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ 5 #ifndef SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
6 #define SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ 6 #define SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "ui/gfx/geometry/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 12
13 namespace display {
14 class PlatformScreen;
15 }
16
17 namespace shell { 13 namespace shell {
18 class Connector; 14 class Connector;
19 } 15 }
20 16
21 namespace ui { 17 namespace ui {
22 18
23 class GpuState; 19 class GpuState;
24 class SurfacesState; 20 class SurfacesState;
25 21
26 namespace ws { 22 namespace ws {
27 23
28 struct PlatformDisplayInitParams { 24 struct PlatformDisplayInitParams {
29 PlatformDisplayInitParams(); 25 PlatformDisplayInitParams();
30 PlatformDisplayInitParams(const PlatformDisplayInitParams& other); 26 PlatformDisplayInitParams(const PlatformDisplayInitParams& other);
31 ~PlatformDisplayInitParams(); 27 ~PlatformDisplayInitParams();
32 28
33 scoped_refptr<SurfacesState> surfaces_state; 29 scoped_refptr<SurfacesState> surfaces_state;
34 30
35 gfx::Rect display_bounds; 31 gfx::Rect display_bounds;
36 int64_t display_id; 32 int64_t display_id;
37 display::PlatformScreen* platform_screen = nullptr;
38 }; 33 };
39 34
40 } // namespace ws 35 } // namespace ws
41 } // namespace ui 36 } // namespace ui
42 37
43 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ 38 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
OLDNEW
« no previous file with comments | « services/ui/ws/platform_display.cc ('k') | services/ui/ws/window_manager_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698