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

Unified Diff: services/ui/public/cpp/tests/window_server_test_base.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: 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/tests/window_server_test_base.h
diff --git a/services/ui/public/cpp/tests/window_server_test_base.h b/services/ui/public/cpp/tests/window_server_test_base.h
index 1a9ea5c53da34868756d3cfbf211b2eebbc1150e..adca52e4c0192632b95011856f9159e71fe44dcc 100644
--- a/services/ui/public/cpp/tests/window_server_test_base.h
+++ b/services/ui/public/cpp/tests/window_server_test_base.h
@@ -82,7 +82,8 @@ class WindowServerTestBase
void OnWmClientJankinessChanged(const std::set<Window*>& client_windows,
bool not_responding) override;
void OnWmNewDisplay(Window* window, const display::Display& display) override;
- void OnAccelerator(uint32_t id, const ui::Event& event) override;
+ mojom::EventResult OnAccelerator(uint32_t accelerator_id,
+ const ui::Event& event) override;
// InterfaceFactory<WindowTreeClient>:
void Create(shell::Connection* connection,

Powered by Google App Engine
This is Rietveld 408576698