summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-30 03:23:46 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-30 03:23:46 +0000
commit408354e4e52d626cc6064284ccc3b4c526d5eb90 (patch)
tree08e705dc0fa570b3e2efe8dd8ceb55d7610aa5bf /remoting
parent464883218eccabb97b52f7bcc6a459709b69f87e (diff)
downloadchromium_src-408354e4e52d626cc6064284ccc3b4c526d5eb90.zip
chromium_src-408354e4e52d626cc6064284ccc3b4c526d5eb90.tar.gz
chromium_src-408354e4e52d626cc6064284ccc3b4c526d5eb90.tar.bz2
Disable resize-to-client on non-Linux systems.
BUG=110212 Review URL: https://chromiumcodereview.appspot.com/11345014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164829 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/remoting_me2me_host.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index bf23e29..6291e41 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -730,8 +730,13 @@ void HostProcess::StartHost() {
new LogToServer(host_, ServerLogEntry::ME2ME, signal_strategy_.get()));
host_event_logger_ = HostEventLogger::Create(host_, kApplicationName);
+#if defined(OS_LINUX)
+ // Desktop resizing is implemented on all three platforms, but may not be
+ // the right thing to do for non-virtual desktops. Disable it until we can
+ // implement a configuration UI.
resizing_host_observer_.reset(
new ResizingHostObserver(desktop_resizer_.get(), host_));
+#endif
// Curtain mode is currently broken on Mac (the only supported platform),
// so it's disabled until we've had time to fully investigate.