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

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

Issue 2445873003: Pass root ServerWindow id to FrameGenerator. (Closed)
Patch Set: Change back to const ref. 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
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..c9ac35af5bc839da525d38858347e0429fd732f7 100644
--- a/services/ui/ws/platform_display_init_params.h
+++ b/services/ui/ws/platform_display_init_params.h
@@ -9,21 +9,23 @@
#include "base/memory/ref_counted.h"
#include "services/ui/display/viewport_metrics.h"
+#include "services/ui/ws/ids.h"
namespace ui {
class DisplayCompositor;
-class GpuState;
namespace ws {
struct PlatformDisplayInitParams {
PlatformDisplayInitParams();
+ PlatformDisplayInitParams(const PlatformDisplayInitParams& other);
~PlatformDisplayInitParams();
scoped_refptr<DisplayCompositor> display_compositor;
int64_t display_id;
+ WindowId root_window_id;
display::ViewportMetrics metrics;
};

Powered by Google App Engine
This is Rietveld 408576698