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

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

Issue 2736943003: Start to decouple display::Display from ws::PlatformDisplay. (Closed)
Patch Set: Fix comments. Created 3 years, 9 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
6 #define SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
7
8 #include <stdint.h>
9
10 #include "base/memory/ref_counted.h"
11 #include "services/ui/display/viewport_metrics.h"
12
13 namespace ui {
14
15 namespace ws {
16
17 class ServerWindow;
18
19 struct PlatformDisplayInitParams {
20 PlatformDisplayInitParams();
21 PlatformDisplayInitParams(const PlatformDisplayInitParams& other);
22 ~PlatformDisplayInitParams();
23
24 int64_t display_id;
25 ServerWindow* root_window = nullptr;
26 display::ViewportMetrics metrics;
27 };
28
29 } // namespace ws
30 } // namespace ui
31
32 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
OLDNEW
« no previous file with comments | « services/ui/ws/platform_display_factory.h ('k') | services/ui/ws/platform_display_init_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698