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() {} |