Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: remoting/host/resizing_host_observer.h

Issue 12879006: Removed task runners from the DesktopEnviroment interface and introduced ScreenControls/ClientSessio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/screen_controls.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/resizing_host_observer.h
diff --git a/remoting/host/resizing_host_observer.h b/remoting/host/resizing_host_observer.h
index d6f439089e5f0ddd39c5ac2d06ff7005bd4554ef..2682d76627d8ee208030646f61de3983a0052f42 100644
--- a/remoting/host/resizing_host_observer.h
+++ b/remoting/host/resizing_host_observer.h
@@ -8,7 +8,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
-#include "remoting/host/session_controller.h"
+#include "remoting/host/screen_controls.h"
#include "third_party/skia/include/core/SkSize.h"
namespace remoting {
@@ -19,15 +19,15 @@ class ScreenResolution;
// TODO(alexeypa): Rename this class to reflect that it is not
// HostStatusObserver any more.
-// Use the specified DesktopResizer to match host desktop size to the client
-// view size as closely as is possible. When the connection closes, restore
+// Uses the specified DesktopResizer to match host desktop size to the client
+// view size as closely as is possible. When the connection closes, restores
// the original desktop size.
-class ResizingHostObserver : public SessionController {
+class ResizingHostObserver : public ScreenControls {
public:
explicit ResizingHostObserver(scoped_ptr<DesktopResizer> desktop_resizer);
virtual ~ResizingHostObserver();
- // SessionController interface.
+ // ScreenControls interface.
virtual void SetScreenResolution(const ScreenResolution& resolution) OVERRIDE;
private:
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/screen_controls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698