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

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: 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 bf409bccdc7092c8ad1f561fd4e2d0d817791b96..c80e0306944f7552571cdb31cdfc2623dc1de7b6 100644
--- a/services/ui/public/cpp/window_manager_delegate.h
+++ b/services/ui/public/cpp/window_manager_delegate.h
@@ -16,6 +16,7 @@
#include "services/ui/public/interfaces/cursor.mojom.h"
#include "services/ui/public/interfaces/event_matcher.mojom.h"
#include "services/ui/public/interfaces/window_manager_constants.mojom.h"
+#include "services/ui/public/interfaces/window_tree_constants.mojom.h"
#include "ui/events/mojo/event.mojom.h"
namespace display {
@@ -105,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);
protected:
virtual ~WindowManagerDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698