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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.h

Issue 1656123002: Moves accelerator registration to WindowManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mandoline Created 4 years, 11 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 | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('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_impl.h
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.h b/components/mus/public/cpp/lib/window_tree_client_impl.h
index 36432ea8ff41af004958e3aaf06ea23c107b2fb3..750f437fa3b1a4ed9d250963df48d7fe1a5f5ddd 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -227,10 +227,15 @@ class WindowTreeClientImpl : public WindowTreeConnection,
void WmCreateTopLevelWindow(uint32_t change_id,
mojo::Map<mojo::String, mojo::Array<uint8_t>>
transport_properties) override;
+ void OnAccelerator(uint32_t id, mus::mojom::EventPtr event) override;
// Overriden from WindowManagerClient:
void SetFrameDecorationValues(
mojom::FrameDecorationValuesPtr values) override;
+ void AddAccelerator(uint32_t id,
+ mojom::EventMatcherPtr event_matcher,
+ const base::Callback<void(bool)>& callback) override;
+ void RemoveAccelerator(uint32_t id) override;
// This is set once and only once when we get OnEmbed(). It gives the unique
// id for this connection.
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698