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

Unified Diff: components/mus/public/cpp/window.h

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/tests/test_window_tree.cc ('k') | components/mus/public/cpp/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/window.h
diff --git a/components/mus/public/cpp/window.h b/components/mus/public/cpp/window.h
index 3cf965e2565a3ff23de60cee5ab9f54ad72c4dd0..eabc6098a5b098c5b812977227e70bd4458c2cd1 100644
--- a/components/mus/public/cpp/window.h
+++ b/components/mus/public/cpp/window.h
@@ -210,12 +210,13 @@ class Window {
void SetCanFocus(bool can_focus);
// Embedding. See window_tree.mojom for details.
- void Embed(mus::mojom::WindowTreeClientPtr client);
+ void Embed(mus::mojom::WindowTreeClientPtr client, uint32_t flags = 0);
// NOTE: callback is run synchronously if Embed() is not allowed on this
// Window.
void Embed(mus::mojom::WindowTreeClientPtr client,
- const EmbedCallback& callback);
+ const EmbedCallback& callback,
+ uint32_t flags = 0);
// TODO(sky): this API is only applicable to the WindowManager. Move it
// to a better place.
« no previous file with comments | « components/mus/public/cpp/tests/test_window_tree.cc ('k') | components/mus/public/cpp/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698