diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-09 03:04:56 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-09 03:04:56 +0000 |
commit | 61cfdc559d4939f1ced7fdb173597d0d2c382d19 (patch) | |
tree | de1ffaf56503a6d80857cf2df72c0793586af844 /remoting/host/chromoting_host.cc | |
parent | d3a5a0b2f0cc1fc01ee544d1b382334a36a845d3 (diff) | |
download | chromium_src-61cfdc559d4939f1ced7fdb173597d0d2c382d19.zip chromium_src-61cfdc559d4939f1ced7fdb173597d0d2c382d19.tar.gz chromium_src-61cfdc559d4939f1ced7fdb173597d0d2c382d19.tar.bz2 |
ResizingHostObserver is created by the desktop environment together with other stubs.
ResizingHostObserver is responsible to resizing the host desktop so that it matches the client resolution. This CL makes the desktop environment responsible for creation of ResizingHostObserver object along with other stubs.
Related changes:
- Added a new interface: SessionController. Objects implementing it will be responsible for handling control events. The client resolution change is the only supported event at the moment.
- Removed OnClientResolutionChanged() from the host status observer.
- The multi-process host does not handle OnClientResolutionChanged() notifications at the moment.
BUG=137696
Review URL: https://chromiumcodereview.appspot.com/12545026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.cc')
-rw-r--r-- | remoting/host/chromoting_host.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc index 68009d4..fc642e2 100644 --- a/remoting/host/chromoting_host.cc +++ b/remoting/host/chromoting_host.cc @@ -267,15 +267,6 @@ void ChromotingHost::OnSessionRouteChange( route)); } -void ChromotingHost::OnClientResolutionChanged(ClientSession* session, - const SkISize& size, - const SkIPoint& dpi) { - DCHECK(network_task_runner_->BelongsToCurrentThread()); - FOR_EACH_OBSERVER(HostStatusObserver, status_observers_, - OnClientResolutionChanged(session->client_jid(), - size, dpi)); -} - void ChromotingHost::OnSessionManagerReady() { DCHECK(network_task_runner_->BelongsToCurrentThread()); // Don't need to do anything here, just wait for incoming |