Curtain mode interface, hooks and unit tests.

BUG=
TEST=

Review URL: http://codereview.chromium.org/6735010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79816 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index e28c1c0..a0cebf57 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -33,6 +33,7 @@
 #include "remoting/host/capturer_fake.h"
 #include "remoting/host/chromoting_host.h"
 #include "remoting/host/chromoting_host_context.h"
+#include "remoting/host/curtain.h"
 #include "remoting/host/desktop_environment.h"
 #include "remoting/host/event_executor.h"
 #include "remoting/host/json_host_config.h"
@@ -132,8 +133,10 @@
         new remoting::CapturerFake();
     remoting::protocol::InputStub* input_stub =
         CreateEventExecutor(context.ui_message_loop(), capturer);
+    remoting::Curtain* curtain = remoting::Curtain::Create();
     host = ChromotingHost::Create(
-        &context, config, new DesktopEnvironment(capturer, input_stub));
+        &context, config,
+        new DesktopEnvironment(capturer, input_stub, curtain));
   } else {
     host = ChromotingHost::Create(&context, config);
   }