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

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: . 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/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 642d54b744ca6134f1a4ebcf865cc7bae70bc6b2..16c71728a8ce527c79c2f2d07f1eec65370d0f74 100644
--- a/components/mus/public/cpp/lib/window_tree_client.cc
+++ b/components/mus/public/cpp/lib/window_tree_client.cc
@@ -343,12 +343,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) {

Powered by Google App Engine
This is Rietveld 408576698