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

Unified Diff: mash/wm/disconnected_app_handler.cc

Issue 1907153002: mash/wm: Fix detecting container windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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
« no previous file with comments | « mash/wm/disconnected_app_handler.h ('k') | mash/wm/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/disconnected_app_handler.cc
diff --git a/mash/wm/disconnected_app_handler.cc b/mash/wm/disconnected_app_handler.cc
new file mode 100644
index 0000000000000000000000000000000000000000..864342622c3c095ef9d4a5e1b2d04fcd8751242b
--- /dev/null
+++ b/mash/wm/disconnected_app_handler.cc
@@ -0,0 +1,20 @@
+// 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.
+
+#include "mash/wm/disconnected_app_handler.h"
+
+namespace mash {
+namespace wm {
+
+DisconnectedAppHandler::DisconnectedAppHandler() {}
+
+DisconnectedAppHandler::~DisconnectedAppHandler() {}
+
+void DisconnectedAppHandler::OnWindowEmbeddedAppDisconnected(
+ mus::Window* window) {
+ window->Destroy();
+}
+
+} // namespace wm
+} // namespace mash
« no previous file with comments | « mash/wm/disconnected_app_handler.h ('k') | mash/wm/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698