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

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

Issue 2778363002: Mus-WS / Aura-Mus: Propagate LocalSurfaceId on WindowTreeHost creation (Closed)
Patch Set: Add comments 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_tree.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 44eb35d643cbedf5102343ca5f5eaa49bbf7295d..6391b1e9b8dfd8e1dc3c58b55b648d3779301e41 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -277,13 +277,15 @@ void TestWindowTreeClient::Bind(
binding_.Bind(std::move(request));
}
-void TestWindowTreeClient::OnEmbed(uint16_t client_id,
- mojom::WindowDataPtr root,
- ui::mojom::WindowTreePtr tree,
- int64_t display_id,
- Id focused_window_id,
- bool drawn,
- const cc::FrameSinkId& frame_sink_id) {
+void TestWindowTreeClient::OnEmbed(
+ uint16_t client_id,
+ mojom::WindowDataPtr root,
+ ui::mojom::WindowTreePtr tree,
+ int64_t display_id,
+ Id focused_window_id,
+ bool drawn,
+ const cc::FrameSinkId& frame_sink_id,
+ const base::Optional<cc::LocalSurfaceId>& local_surface_id) {
// TODO(sky): add test coverage of |focused_window_id|.
tracker_.OnEmbed(client_id, std::move(root), drawn, frame_sink_id);
}
@@ -312,7 +314,8 @@ void TestWindowTreeClient::OnTopLevelCreated(
mojom::WindowDataPtr data,
int64_t display_id,
bool drawn,
- const cc::FrameSinkId& frame_sink_id) {
+ const cc::FrameSinkId& frame_sink_id,
+ const base::Optional<cc::LocalSurfaceId>& local_surface_id) {
tracker_.OnTopLevelCreated(change_id, std::move(data), drawn, frame_sink_id);
}
« no previous file with comments | « services/ui/ws/test_utils.h ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698