Index: ui/views/mus/native_widget_mus.h |
diff --git a/ui/views/mus/native_widget_mus.h b/ui/views/mus/native_widget_mus.h |
index f4dd993de2343de60b7de5c11323406e87a7263c..2cdb0d4f764060c0851fc3d5acd3543121eddfd7 100644 |
--- a/ui/views/mus/native_widget_mus.h |
+++ b/ui/views/mus/native_widget_mus.h |
@@ -220,6 +220,9 @@ class VIEWS_MUS_EXPORT NativeWidgetMus |
void OnGestureEvent(ui::GestureEvent* event) override; |
// Overridden from aura::WindowTreeHostObserver: |
+ void OnHostResized(const aura::WindowTreeHost* host) override; |
+ void OnHostMoved(const aura::WindowTreeHost* host, |
+ const gfx::Point& new_origin) override; |
void OnHostCloseRequested(const aura::WindowTreeHost* host) override; |
// Overridden from ui::InputEventHandler: |
@@ -264,6 +267,11 @@ class VIEWS_MUS_EXPORT NativeWidgetMus |
// a separate class. |
std::unique_ptr<MusWindowObserver> mus_window_observer_; |
+ // This is misnamed; The native widget interface offers something called |
+ // "native window properties" which are properties which it stores locally, |
+ // and this is used to unsafely pass void* pointers around chrome. |
+ std::map<std::string, void*> native_window_properties_; |
+ |
// Aura configuration. |
std::unique_ptr<SurfaceContextFactory> context_factory_; |
std::unique_ptr<WindowTreeHostMus> window_tree_host_; |