Chromium Code Reviews| Index: mash/wm/disconnected_app_handler.h |
| diff --git a/mash/wm/disconnected_app_handler.h b/mash/wm/disconnected_app_handler.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f488d39f0463a53b8d73425769c2b3d024bd92b0 |
| --- /dev/null |
| +++ b/mash/wm/disconnected_app_handler.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MASH_WM_DISCONNECTED_APP_HANDLER_H_ |
| +#define MASH_WM_DISCONNECTED_APP_HANDLER_H_ |
| + |
| +#include "base/macros.h" |
| +#include "components/mus/public/cpp/window_tracker.h" |
| + |
| +namespace mash { |
| +namespace wm { |
| + |
| +class DisconnectedAppHandler : public mus::WindowTracker { |
|
sky
2016/04/22 16:34:27
Add a description.
sadrul
2016/04/22 17:08:47
Done.
|
| + public: |
| + DisconnectedAppHandler(); |
| + ~DisconnectedAppHandler() override; |
| + |
| + private: |
| + // mus::WindowObserver: |
| + void OnWindowEmbeddedAppDisconnected(mus::Window* window) override; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(DisconnectedAppHandler); |
| +}; |
| + |
| +} // namespace wm |
| +} // namespace mash |
| + |
| +#endif // MASH_WM_DISCONNECTED_APP_HANDLER_H_ |