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

Unified Diff: remoting/host/client_session.h

Issue 12545026: ResizingHostObserver is created by the desktop environment together with other stubs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback & 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/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 5ed34f30ad0099df70cc151110ca97a8d8548592..b6d3a6a2f06794572857057da719553745ae8687 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -38,6 +38,7 @@ struct ClientSessionTraits;
class DesktopEnvironment;
class DesktopEnvironmentFactory;
class EventExecutor;
+class SessionController;
class VideoEncoder;
class VideoScheduler;
@@ -78,12 +79,6 @@ class ClientSession
const std::string& channel_name,
const protocol::TransportRoute& route) = 0;
- // Called when the initial client resolution is received, and when it
- // changes.
- virtual void OnClientResolutionChanged(ClientSession* client,
- const SkISize& size,
- const SkIPoint& dpi) = 0;
-
protected:
virtual ~EventHandler() {}
};
@@ -230,6 +225,8 @@ class ClientSession
scoped_ptr<EventExecutor> event_executor_;
+ scoped_ptr<SessionController> session_controller_;
+
DISALLOW_COPY_AND_ASSIGN(ClientSession);
};
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698