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

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: comments 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 54cf30dee2c9ddaceb8096a23b5b52ff20ee9b15..97a83cc2790e32e2796e109f2de3bdac235477b0 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,

Powered by Google App Engine
This is Rietveld 408576698