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

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: 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/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 929430545858ea173a6499ac236e9c1683ecb8c4..6c846e5ce301cb1602f526b8acf3f583c60d4d6b 100644
--- a/services/ui/public/cpp/tests/window_server_test_base.h
+++ b/services/ui/public/cpp/tests/window_server_test_base.h
@@ -82,12 +82,13 @@ 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;
void OnWmPerformMoveLoop(Window* window,
mojom::MoveLoopSource source,
const gfx::Point& cursor_location,
const base::Callback<void(bool)>& on_done) override;
void OnWmCancelMoveLoop(Window* window) override;
+ mojom::EventResult OnAccelerator(uint32_t accelerator_id,
+ const ui::Event& event) override;
// InterfaceFactory<WindowTreeClient>:
void Create(shell::Connection* connection,
« no previous file with comments | « services/ui/public/cpp/lib/window_tree_client.cc ('k') | services/ui/public/cpp/tests/window_server_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698