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

Unified Diff: services/ui/ws/platform_display_init_params.h

Issue 2445873003: Pass root ServerWindow id to FrameGenerator. (Closed)
Patch Set: Address nits. 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display_init_params.h
diff --git a/services/ui/ws/platform_display_init_params.h b/services/ui/ws/platform_display_init_params.h
index b5b049225e11cdcfcaa07434e7490a56a8db529e..9397cff7412cb7e0c6e50092fa4762dbb3d578f7 100644
--- a/services/ui/ws/platform_display_init_params.h
+++ b/services/ui/ws/platform_display_init_params.h
@@ -13,17 +13,20 @@
namespace ui {
class DisplayCompositor;
-class GpuState;
namespace ws {
+class ServerWindow;
+
struct PlatformDisplayInitParams {
PlatformDisplayInitParams();
+ PlatformDisplayInitParams(const PlatformDisplayInitParams& other);
~PlatformDisplayInitParams();
scoped_refptr<DisplayCompositor> display_compositor;
int64_t display_id;
+ ServerWindow* root_window = nullptr;
display::ViewportMetrics metrics;
};
« 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