Index: components/mus/public/cpp/window_manager_delegate.h |
diff --git a/components/mus/public/cpp/window_manager_delegate.h b/components/mus/public/cpp/window_manager_delegate.h |
index 7fe6aa2c638560dc1e5576f569d743b8e0ce6d96..42cc651e644535177f18257772f834eeacc1b867 100644 |
--- a/components/mus/public/cpp/window_manager_delegate.h |
+++ b/components/mus/public/cpp/window_manager_delegate.h |
@@ -22,6 +22,10 @@ class Rect; |
class Vector2d; |
} |
+namespace ui { |
+class Event; |
+} |
+ |
namespace mus { |
class Window; |
@@ -81,7 +85,7 @@ class WindowManagerDelegate { |
virtual Window* OnWmCreateTopLevelWindow( |
std::map<std::string, std::vector<uint8_t>>* properties) = 0; |
- virtual void OnAccelerator(uint32_t id, mus::mojom::EventPtr event) = 0; |
+ virtual void OnAccelerator(uint32_t id, const ui::Event& event) = 0; |
protected: |
virtual ~WindowManagerDelegate() {} |