summaryrefslogtreecommitdiffstats
path: root/components/mus/public/cpp/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/mus/public/cpp/window.h')
-rw-r--r--components/mus/public/cpp/window.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/mus/public/cpp/window.h b/components/mus/public/cpp/window.h
index 8005cf4..6ed39dd 100644
--- a/components/mus/public/cpp/window.h
+++ b/components/mus/public/cpp/window.h
@@ -26,6 +26,7 @@ class Size;
namespace mus {
+class InputEventHandler;
class ServiceProviderImpl;
class WindowObserver;
class WindowSurface;
@@ -143,6 +144,10 @@ class Window {
template <typename T>
void ClearLocalProperty(const WindowProperty<T>* property);
+ void set_input_event_handler(InputEventHandler* input_event_handler) {
+ input_event_handler_ = input_event_handler;
+ }
+
// Observation.
void AddObserver(WindowObserver* observer);
void RemoveObserver(WindowObserver* observer);
@@ -282,6 +287,7 @@ class Window {
Children transient_children_;
base::ObserverList<WindowObserver> observers_;
+ InputEventHandler* input_event_handler_;
gfx::Rect bounds_;
gfx::Insets client_area_;