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

Unified Diff: components/mus/public/cpp/window_manager_delegate.h

Issue 1814533002: Use ui::Event instead of mojom::EventPtr in mash/wm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_eventptr
Patch Set: Created 4 years, 9 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: 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() {}
« no previous file with comments | « components/mus/public/cpp/tests/window_server_test_base.cc ('k') | components/mus/ws/window_manager_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698