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

Unified Diff: remoting/host/screen_controls.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/resizing_host_observer.h ('k') | remoting/host/session_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/screen_controls.h
diff --git a/remoting/host/session_controller.h b/remoting/host/screen_controls.h
similarity index 58%
rename from remoting/host/session_controller.h
rename to remoting/host/screen_controls.h
index 8587a449c2a49976e12758dce5d19017849f33cb..1f707f9681d99e73b3d7080693ec036aa4f528bf 100644
--- a/remoting/host/session_controller.h
+++ b/remoting/host/screen_controls.h
@@ -2,20 +2,19 @@
// 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_
+#ifndef REMOTING_HOST_SCREEN_CONTROLS_H_
+#define REMOTING_HOST_SCREEN_CONTROLS_H_
#include "base/basictypes.h"
-#include "third_party/skia/include/core/SkPoint.h"
-#include "third_party/skia/include/core/SkSize.h"
namespace remoting {
class ScreenResolution;
-class SessionController {
+// Used to change the screen resolution (both dimensions and DPI).
+class ScreenControls {
public:
- virtual ~SessionController() {}
+ virtual ~ScreenControls() {}
// Attempts to set new screen resolution in the session.
virtual void SetScreenResolution(const ScreenResolution& resolution) = 0;
@@ -23,4 +22,4 @@ class SessionController {
} // namespace remoting
-#endif // REMOTING_HOST_SESSION_CONTROLLER_H_
+#endif // REMOTING_HOST_SCREEN_CONTROLS_H_
« no previous file with comments | « remoting/host/resizing_host_observer.h ('k') | remoting/host/session_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698