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

Unified Diff: components/mus/ws/window_tree_client_unittest.cc

Issue 2068093002: mus: Allow embedder to intercept events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 6 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 | « components/mus/ws/window_tree.cc ('k') | components/mus/ws/window_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_client_unittest.cc
diff --git a/components/mus/ws/window_tree_client_unittest.cc b/components/mus/ws/window_tree_client_unittest.cc
index e4d77a5e4658f473e824612e8fa18570d95b5fce..34169dd21522828cf9091f0da9cca94add0a1622 100644
--- a/components/mus/ws/window_tree_client_unittest.cc
+++ b/components/mus/ws/window_tree_client_unittest.cc
@@ -67,7 +67,8 @@ bool EmbedUrl(shell::Connector* connector,
{
mojom::WindowTreeClientPtr client;
connector->ConnectToInterface(url.get(), &client);
- tree->Embed(root_id, std::move(client),
+ const uint32_t embed_flags = 0;
+ tree->Embed(root_id, std::move(client), embed_flags,
base::Bind(&EmbedCallbackImpl, &run_loop, &result));
}
run_loop.Run();
@@ -78,7 +79,8 @@ bool Embed(WindowTree* tree, Id root_id, mojom::WindowTreeClientPtr client) {
bool result = false;
base::RunLoop run_loop;
{
- tree->Embed(root_id, std::move(client),
+ const uint32_t embed_flags = 0;
+ tree->Embed(root_id, std::move(client), embed_flags,
base::Bind(&EmbedCallbackImpl, &run_loop, &result));
}
run_loop.Run();
« no previous file with comments | « components/mus/ws/window_tree.cc ('k') | components/mus/ws/window_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698