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

Unified Diff: ui/aura/test/mus/window_tree_client_private.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 | « ui/aura/mus/window_tree_host_mus_unittest.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/mus/window_tree_client_private.cc
diff --git a/ui/aura/test/mus/window_tree_client_private.cc b/ui/aura/test/mus/window_tree_client_private.cc
index 40f77eb0e7c48dc9c0e681ee4149e9bc1bca6cc2..5ab768ac7909513ebe62ca576201336b6a9cad13 100644
--- a/ui/aura/test/mus/window_tree_client_private.cc
+++ b/ui/aura/test/mus/window_tree_client_private.cc
@@ -29,7 +29,8 @@ void WindowTreeClientPrivate::OnEmbed(ui::mojom::WindowTree* window_tree) {
const int64_t display_id = 1;
const Id focused_window_id = 0;
tree_client_impl_->OnEmbedImpl(window_tree, 1, std::move(root_data),
- display_id, focused_window_id, true);
+ display_id, focused_window_id, true,
+ cc::FrameSinkId(1, 1));
}
WindowTreeHostMus* WindowTreeClientPrivate::CallWmNewDisplayAdded(
@@ -47,8 +48,8 @@ WindowTreeHostMus* WindowTreeClientPrivate::CallWmNewDisplayAdded(
const display::Display& display,
ui::mojom::WindowDataPtr root_data,
bool parent_drawn) {
- return tree_client_impl_->WmNewDisplayAddedImpl(display, std::move(root_data),
- parent_drawn);
+ return tree_client_impl_->WmNewDisplayAddedImpl(
+ display, std::move(root_data), parent_drawn, cc::FrameSinkId(1, 1));
}
void WindowTreeClientPrivate::CallOnWindowInputEvent(
« no previous file with comments | « ui/aura/mus/window_tree_host_mus_unittest.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698