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

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

Issue 2470143006: Remove dependency on SurfaceManager in FrameGenerator (Closed)
Patch Set: Remove a couple of bad std::moves Created 4 years, 1 month 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/test_utils.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 "services/ui/display/viewport_metrics.h" 11 #include "services/ui/display/viewport_metrics.h"
12 12
13 namespace ui { 13 namespace ui {
14 14
15 class DisplayCompositor;
16
17 namespace ws { 15 namespace ws {
18 16
19 class ServerWindow; 17 class ServerWindow;
20 18
21 struct PlatformDisplayInitParams { 19 struct PlatformDisplayInitParams {
22 PlatformDisplayInitParams(); 20 PlatformDisplayInitParams();
23 PlatformDisplayInitParams(const PlatformDisplayInitParams& other); 21 PlatformDisplayInitParams(const PlatformDisplayInitParams& other);
24 ~PlatformDisplayInitParams(); 22 ~PlatformDisplayInitParams();
25 23
26 scoped_refptr<DisplayCompositor> display_compositor;
27
28 int64_t display_id; 24 int64_t display_id;
29 ServerWindow* root_window = nullptr; 25 ServerWindow* root_window = nullptr;
30 display::ViewportMetrics metrics; 26 display::ViewportMetrics metrics;
31 }; 27 };
32 28
33 } // namespace ws 29 } // namespace ws
34 } // namespace ui 30 } // namespace ui
35 31
36 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ 32 #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/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698