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

Unified Diff: services/ui/ws/test_utils.cc

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Removed stale comment 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/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index e842ca8c5c84bd57c529b3f0fb81bbdca28d5053..e102bdfdee15681811bed6dce80b30bac05c0c57 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -357,6 +357,13 @@ void TestWindowTreeClient::OnWindowPredefinedCursorChanged(
tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id);
}
+void TestWindowTreeClient::OnWindowSurfaceCreated(
+ Id window_id,
+ const cc::SurfaceId& surface_id,
+ const cc::SurfaceSequence& surface_sequence,
+ const gfx::Size& frame_size,
+ float device_scale_factor) {}
+
void TestWindowTreeClient::OnDragDropStart(
mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) {}
@@ -485,7 +492,7 @@ WindowEventTargetingHelper::WindowEventTargetingHelper()
: wm_client_(nullptr),
display_binding_(nullptr),
display_(nullptr),
- display_compositor_(new DisplayCompositor()) {
+ display_compositor_(new DisplayCompositor(nullptr)) {
PlatformDisplayInitParams display_init_params;
display_init_params.display_compositor = display_compositor_;
display_ = new Display(window_server(), display_init_params);

Powered by Google App Engine
This is Rietveld 408576698