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

Unified Diff: remoting/host/session_controller.h

Issue 12678008: Reworked the plumbing required to pass the client resolution to the desktop resizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback 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/screen_resolution_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
index 46fff8ddbdae29ccc4d85ae526d85ed5af60be3e..8587a449c2a49976e12758dce5d19017849f33cb 100644
--- a/remoting/host/session_controller.h
+++ b/remoting/host/session_controller.h
@@ -11,13 +11,14 @@
namespace remoting {
+class ScreenResolution;
+
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;
+ // Attempts to set new screen resolution in the session.
+ virtual void SetScreenResolution(const ScreenResolution& resolution) = 0;
};
} // namespace remoting
« no previous file with comments | « remoting/host/screen_resolution_unittest.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698