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

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

Issue 2764433003: mus-ws: Plumb FrameSinkId to Children (Closed)
Patch Set: Addressed Antoine's comment Created 3 years, 9 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/test_utils.h ('k') | services/ui/ws/window_manager_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index 21f5af82a9289f3bc2c07c05a0c5e6d4f4d9da02..61d19322cad1653c407ee0b56d0ba205594548b2 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -271,9 +271,10 @@ void TestWindowTreeClient::OnEmbed(uint16_t client_id,
ui::mojom::WindowTreePtr tree,
int64_t display_id,
Id focused_window_id,
- bool drawn) {
+ bool drawn,
+ const cc::FrameSinkId& frame_sink_id) {
// TODO(sky): add test coverage of |focused_window_id|.
- tracker_.OnEmbed(client_id, std::move(root), drawn);
+ tracker_.OnEmbed(client_id, std::move(root), drawn, frame_sink_id);
}
void TestWindowTreeClient::OnEmbeddedAppDisconnected(uint32_t window) {
@@ -289,11 +290,13 @@ void TestWindowTreeClient::OnCaptureChanged(Id new_capture_window_id,
tracker_.OnCaptureChanged(new_capture_window_id, old_capture_window_id);
}
-void TestWindowTreeClient::OnTopLevelCreated(uint32_t change_id,
- mojom::WindowDataPtr data,
- int64_t display_id,
- bool drawn) {
- tracker_.OnTopLevelCreated(change_id, std::move(data), drawn);
+void TestWindowTreeClient::OnTopLevelCreated(
+ uint32_t change_id,
+ mojom::WindowDataPtr data,
+ int64_t display_id,
+ bool drawn,
+ const cc::FrameSinkId& frame_sink_id) {
+ tracker_.OnTopLevelCreated(change_id, std::move(data), drawn, frame_sink_id);
}
void TestWindowTreeClient::OnWindowBoundsChanged(
« no previous file with comments | « services/ui/ws/test_utils.h ('k') | services/ui/ws/window_manager_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698