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

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: . 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
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 d8a1e40f0fb0155d62ccd56aa1e5d77783005dfd..05843c0e836d13975cbc099837ba4ce65fd03fb5 100644
--- a/components/mus/ws/window_tree_client_unittest.cc
+++ b/components/mus/ws/window_tree_client_unittest.cc
@@ -69,7 +69,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();
@@ -80,7 +81,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();

Powered by Google App Engine
This is Rietveld 408576698