Chromoting: the Me2me host (on Mac and Windows) now presents a notification on the console allowing a user to disconnect an incoming session.
BUG=127321,127322
Review URL: https://chromiumcodereview.appspot.com/10384127
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136698 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/remoting/host/continue_window_win.cc b/remoting/host/continue_window_win.cc
index c62289b..8e81439e 100644
--- a/remoting/host/continue_window_win.cc
+++ b/remoting/host/continue_window_win.cc
@@ -10,9 +10,7 @@
#include "base/logging.h"
#include "base/utf_string_conversions.h"
#include "remoting/host/chromoting_host.h"
-// TODO(wez): The DisconnectWindow isn't plugin-specific, so shouldn't have
-// a dependency on the plugin's resource header.
-#include "remoting/host/plugin/host_plugin_resource.h"
+#include "remoting/host/host_ui_resource.h"
// TODO(garykac): Lots of duplicated code in this file and
// disconnect_window_win.cc. These global floating windows are temporary so
@@ -127,7 +125,7 @@
void ContinueWindowWin::EndDialog() {
if (hwnd_) {
- ::EndDialog(hwnd_, 0);
+ ::DestroyWindow(hwnd_);
hwnd_ = NULL;
}
}