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

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

Issue 2386763002: services/ui: Match naming in cc (and jellyfish branch) (Closed)
Patch Set: Remove unnecessary content changes Created 4 years, 2 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
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/ws/viewport_metrics.h" 11 #include "services/ui/ws/viewport_metrics.h"
12 12
13 namespace ui { 13 namespace ui {
14 14
15 class SurfacesState; 15 class GpuState;
sky 2016/10/03 16:16:02 sort
Fady Samuel 2016/10/03 18:27:07 Done.
16 class DisplayCompositor;
16 17
17 namespace ws { 18 namespace ws {
18 19
19 struct PlatformDisplayInitParams { 20 struct PlatformDisplayInitParams {
20 PlatformDisplayInitParams(); 21 PlatformDisplayInitParams();
21 ~PlatformDisplayInitParams(); 22 ~PlatformDisplayInitParams();
22 23
23 scoped_refptr<SurfacesState> surfaces_state; 24 scoped_refptr<DisplayCompositor> display_compositor;
25
26 gfx::Rect display_bounds;
24 int64_t display_id; 27 int64_t display_id;
25 ViewportMetrics metrics; 28 ViewportMetrics metrics;
26 }; 29 };
27 30
28 } // namespace ws 31 } // namespace ws
29 } // namespace ui 32 } // namespace ui
30 33
31 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ 34 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698