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/desktop_session_proxy.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/desktop_session_proxy.cc')
-rw-r--r-- | remoting/host/desktop_session_proxy.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/host/desktop_session_proxy.cc b/remoting/host/desktop_session_proxy.cc index abd3ef2..1e3ec99 100644 --- a/remoting/host/desktop_session_proxy.cc +++ b/remoting/host/desktop_session_proxy.cc @@ -17,7 +17,9 @@ #include "remoting/host/desktop_session_connector.h" #include "remoting/host/ipc_audio_capturer.h" #include "remoting/host/ipc_event_executor.h" +#include "remoting/host/ipc_session_controller.h" #include "remoting/host/ipc_video_frame_capturer.h" +#include "remoting/host/session_controller.h" #include "remoting/proto/audio.pb.h" #include "remoting/proto/control.pb.h" #include "remoting/proto/event.pb.h" @@ -61,6 +63,10 @@ scoped_ptr<EventExecutor> DesktopSessionProxy::CreateEventExecutor( return scoped_ptr<EventExecutor>(new IpcEventExecutor(this)); } +scoped_ptr<SessionController> DesktopSessionProxy::CreateSessionController() { + return scoped_ptr<SessionController>(new IpcSessionController(this)); +} + scoped_ptr<media::ScreenCapturer> DesktopSessionProxy::CreateVideoCapturer( scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) { |