summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.cc
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-24 20:44:38 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-24 20:44:38 +0000
commitac115ce69f13d5a25cac752b9e761198be478d51 (patch)
tree844bcbf1b993922333dc336e0c49f2f4683a8106 /remoting/host/chromoting_host.cc
parent0306365d33a7cb7eee1f0c3315a98126af2cce35 (diff)
downloadchromium_src-ac115ce69f13d5a25cac752b9e761198be478d51.zip
chromium_src-ac115ce69f13d5a25cac752b9e761198be478d51.tar.gz
chromium_src-ac115ce69f13d5a25cac752b9e761198be478d51.tar.bz2
The continue window is owned by the desktop environment now.
This CL completely removes HostUserInterface and It2MeHostUserInterface classes, making the desktop enviroment (It2MeDesktopEnvironment) responsible for creation of the UI. Platform-specific implementations of ContinueWindow have been rewritten on top of HostWindow class. Collateral changes: - HostScriptObject creates a instance of base::ThreadTaskRunnerHandle so that timers could run on the plugin thread. - No more "uninteresting mock" messages caused by the continue and disconnect windows when running remoting_unittests. BUG=104544 Review URL: https://chromiumcodereview.appspot.com/13461029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.cc')
-rw-r--r--remoting/host/chromoting_host.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 447be4d..9f7de561 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -329,19 +329,6 @@ void ChromotingHost::set_protocol_config(
protocol_config_ = config.Pass();
}
-void ChromotingHost::PauseSession(bool pause) {
- if (!network_task_runner_->BelongsToCurrentThread()) {
- network_task_runner_->PostTask(
- FROM_HERE, base::Bind(&ChromotingHost::PauseSession, this, pause));
- return;
- }
-
- ClientList::iterator client;
- for (client = clients_.begin(); client != clients_.end(); ++client) {
- (*client)->SetDisableInputs(pause);
- }
-}
-
void ChromotingHost::DisconnectAllClients() {
if (!network_task_runner_->BelongsToCurrentThread()) {
network_task_runner_->PostTask(