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

Unified Diff: remoting/host/ipc_session_controller.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: 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
Index: remoting/host/ipc_session_controller.h
diff --git a/remoting/host/ipc_session_controller.h b/remoting/host/ipc_session_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..fc39299f9820097d363dd7e6dd5b122657717d0d
--- /dev/null
+++ b/remoting/host/ipc_session_controller.h
@@ -0,0 +1,35 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_IPC_SESSION_CONTROLLER_H_
+#define REMOTING_HOST_IPC_SESSION_CONTROLLER_H_
+
+#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
+#include "remoting/host/session_controller.h"
+
+namespace remoting {
+
+class DesktopSessionProxy;
+
+class IpcSessionController : public SessionController {
+ public:
+ explicit IpcSessionController(
+ scoped_refptr<DesktopSessionProxy> desktop_session_proxy);
+ virtual ~IpcSessionController();
+
+ // SessionController interface.
+ virtual void OnClientResolutionChanged(const SkIPoint& client_dpi,
+ const SkISize& client_size) OVERRIDE;
+
+ private:
+ // Wraps the IPC channel to the desktop session agent.
+ scoped_refptr<DesktopSessionProxy> desktop_session_proxy_;
+
+ DISALLOW_COPY_AND_ASSIGN(IpcSessionController);
+};
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_IPC_SESSION_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698