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

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

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows 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 "ui/gfx/geometry/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 12
13 namespace shell { 13 namespace shell {
14 class Connector; 14 class Connector;
15 } 15 }
16 16
17 namespace ui { 17 namespace ui {
18 18
19 class GpuState; 19 namespace surfaces {
20 class SurfacesState; 20 class DisplayCompositor;
21 }
21 22
22 namespace ws { 23 namespace ws {
23 24
24 struct PlatformDisplayInitParams { 25 struct PlatformDisplayInitParams {
25 PlatformDisplayInitParams(); 26 PlatformDisplayInitParams();
26 PlatformDisplayInitParams(const PlatformDisplayInitParams& other); 27 PlatformDisplayInitParams(const PlatformDisplayInitParams& other);
27 ~PlatformDisplayInitParams(); 28 ~PlatformDisplayInitParams();
28 29
29 scoped_refptr<SurfacesState> surfaces_state; 30 scoped_refptr<surfaces::DisplayCompositor> display_compositor;
30 31
31 gfx::Rect display_bounds; 32 gfx::Rect display_bounds;
32 int64_t display_id; 33 int64_t display_id;
33 }; 34 };
34 35
35 } // namespace ws 36 } // namespace ws
36 } // namespace ui 37 } // namespace ui
37 38
38 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ 39 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
OLDNEW
« no previous file with comments | « services/ui/ws/platform_display_delegate.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