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

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
Index: remoting/host/session_controller.h
diff --git a/remoting/host/session_controller.h b/remoting/host/session_controller.h
index 46fff8ddbdae29ccc4d85ae526d85ed5af60be3e..e29067ac0fc1be7b5138d98204293cbfe231576c 100644
--- a/remoting/host/session_controller.h
+++ b/remoting/host/session_controller.h
@@ -11,13 +11,14 @@
namespace remoting {
+struct 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

Powered by Google App Engine
This is Rietveld 408576698