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

Unified Diff: components/mus/public/cpp/lib/window_tree_client.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/public/cpp/lib/window.cc ('k') | components/mus/public/cpp/tests/test_window_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_tree_client.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client.cc b/components/mus/public/cpp/lib/window_tree_client.cc
index 3a7e71dbcb9a8cf5fb213b702df2627165e113b6..7a43101ff6a809ad755b710c8bb4739fd90096c1 100644
--- a/components/mus/public/cpp/lib/window_tree_client.cc
+++ b/components/mus/public/cpp/lib/window_tree_client.cc
@@ -354,12 +354,12 @@ void WindowTreeClient::SetImeVisibility(Id window_id,
tree_->SetImeVisibility(window_id, visible, std::move(state));
}
-void WindowTreeClient::Embed(
- Id window_id,
- mojom::WindowTreeClientPtr client,
- const mojom::WindowTree::EmbedCallback& callback) {
+void WindowTreeClient::Embed(Id window_id,
+ mojom::WindowTreeClientPtr client,
+ uint32_t flags,
+ const mojom::WindowTree::EmbedCallback& callback) {
DCHECK(tree_);
- tree_->Embed(window_id, std::move(client), callback);
+ tree_->Embed(window_id, std::move(client), flags, callback);
}
void WindowTreeClient::RequestClose(Window* window) {
« no previous file with comments | « components/mus/public/cpp/lib/window.cc ('k') | components/mus/public/cpp/tests/test_window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698