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

Unified Diff: services/ui/public/cpp/window_manager_delegate.h

Issue 2125883003: Adds ability for pre-target accelerators to not consume events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 5 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: services/ui/public/cpp/window_manager_delegate.h
diff --git a/services/ui/public/cpp/window_manager_delegate.h b/services/ui/public/cpp/window_manager_delegate.h
index f9d3a15ca1abd0cf1d31ac9249e996406ba626b2..fe3b72bc9ac904f41dea75c05c1d6f33ce168ab2 100644
--- a/services/ui/public/cpp/window_manager_delegate.h
+++ b/services/ui/public/cpp/window_manager_delegate.h
@@ -106,7 +106,7 @@ class WindowManagerDelegate {
virtual void OnWmNewDisplay(Window* window,
const display::Display& display) = 0;
- virtual void OnAccelerator(uint32_t id, const ui::Event& event) = 0;
+ virtual mojom::EventResult OnAccelerator(uint32_t id, const ui::Event& event);
virtual void OnWmPerformMoveLoop(
Window* window,
« no previous file with comments | « services/ui/public/cpp/tests/window_server_test_base.cc ('k') | services/ui/public/cpp/window_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698