| Index: ash/mus/disconnected_app_handler.h
|
| diff --git a/ash/mus/disconnected_app_handler.h b/ash/mus/disconnected_app_handler.h
|
| index dfec2c5ced291b19f5b254da92f7fd9e3afcd093..769cddcb54239d8630acd35c1e9f4484a2ab3e99 100644
|
| --- a/ash/mus/disconnected_app_handler.h
|
| +++ b/ash/mus/disconnected_app_handler.h
|
| @@ -12,15 +12,16 @@ namespace ash {
|
| namespace mus {
|
|
|
| // Tracks mus::Windows for when they get disconnected from the embedded app.
|
| -// Currently closes a window upon disconnection.
|
| +// Destroys the window upon disconnection.
|
| class DisconnectedAppHandler : public ::mus::WindowTracker {
|
| public:
|
| - DisconnectedAppHandler();
|
| + explicit DisconnectedAppHandler(::mus::Window* root_window);
|
| ~DisconnectedAppHandler() override;
|
|
|
| private:
|
| // mus::WindowObserver:
|
| void OnWindowEmbeddedAppDisconnected(::mus::Window* window) override;
|
| + void OnTreeChanging(const TreeChangeParams& params) override;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DisconnectedAppHandler);
|
| };
|
|
|