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

Unified Diff: remoting/host/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: 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/resizing_host_observer_unittest.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/session_controller.h
diff --git a/remoting/host/session_controller.h b/remoting/host/session_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..46fff8ddbdae29ccc4d85ae526d85ed5af60be3e
--- /dev/null
+++ b/remoting/host/session_controller.h
@@ -0,0 +1,25 @@
+// 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_SESSION_CONTROLLER_H_
+#define REMOTING_HOST_SESSION_CONTROLLER_H_
+
+#include "base/basictypes.h"
+#include "third_party/skia/include/core/SkPoint.h"
+#include "third_party/skia/include/core/SkSize.h"
+
+namespace remoting {
+
+class SessionController {
+ public:
+ virtual ~SessionController() {}
+
+ // Called when the client view size or pixel density change.
+ virtual void OnClientResolutionChanged(const SkIPoint& client_dpi,
+ const SkISize& client_size) = 0;
+};
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_SESSION_CONTROLLER_H_
« no previous file with comments | « remoting/host/resizing_host_observer_unittest.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698